Commit c969964
authored
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#123156)
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 IntegerType to be nonnull.1 parent ff1b01b commit c969964
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4021 | 4021 | | |
4022 | 4022 | | |
4023 | 4023 | | |
4024 | | - | |
| 4024 | + | |
4025 | 4025 | | |
4026 | 4026 | | |
4027 | 4027 | | |
| |||
0 commit comments