Commit 16e61df
authored
[Sema] Migrate away from PointerUnion::dyn_cast (NFC) (#125023)
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 Entry to be nonnull.1 parent ba5b146 commit 16e61df
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19966 | 19966 | | |
19967 | 19967 | | |
19968 | 19968 | | |
19969 | | - | |
| 19969 | + | |
19970 | 19970 | | |
19971 | 19971 | | |
19972 | 19972 | | |
| |||
0 commit comments