Commit acdcdbc
authored
[Sema] Migrate away from PointerUnion::dyn_cast (NFC) (#123014)
Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
// isa<T>, cast<T> and the llvm::dyn_cast<T>
Literal migration would result in dyn_cast_if_present (see the
definition of PointerUnion::dyn_cast), but this patch uses dyn_cast
because we expect EnumUnderlying to be nonnull.1 parent 3a3a1e4 commit acdcdbc
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17310 | 17310 | | |
17311 | 17311 | | |
17312 | 17312 | | |
17313 | | - | |
| 17313 | + | |
17314 | 17314 | | |
17315 | 17315 | | |
17316 | 17316 | | |
| |||
17943 | 17943 | | |
17944 | 17944 | | |
17945 | 17945 | | |
17946 | | - | |
| 17946 | + | |
17947 | 17947 | | |
17948 | 17948 | | |
17949 | 17949 | | |
| |||
0 commit comments