Commit 3bcbf9b
committed
[CodeGen] Migrate away from PointerUnion::dyn_cast (NFC)
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 Pos to be nonnull.1 parent ea49d47 commit 3bcbf9b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4079 | 4079 | | |
4080 | 4080 | | |
4081 | 4081 | | |
4082 | | - | |
| 4082 | + | |
4083 | 4083 | | |
4084 | 4084 | | |
4085 | 4085 | | |
| |||
4109 | 4109 | | |
4110 | 4110 | | |
4111 | 4111 | | |
4112 | | - | |
| 4112 | + | |
4113 | 4113 | | |
4114 | 4114 | | |
4115 | 4115 | | |
| |||
0 commit comments