Commit 3a3a1e4
authored
[CodeGen] Migrate away from PointerUnion::dyn_cast (NFC) (#123013)
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 Data to be nonnull.1 parent 3fd296e commit 3a3a1e4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7768 | 7768 | | |
7769 | 7769 | | |
7770 | 7770 | | |
7771 | | - | |
| 7771 | + | |
7772 | 7772 | | |
7773 | 7773 | | |
7774 | 7774 | | |
| |||
0 commit comments