Commit 3fd296e
authored
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#123012)
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 P to be nonnull.1 parent ff862d6 commit 3fd296e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6376 | 6376 | | |
6377 | 6377 | | |
6378 | 6378 | | |
6379 | | - | |
| 6379 | + | |
6380 | 6380 | | |
6381 | 6381 | | |
6382 | 6382 | | |
| |||
0 commit comments