Commit 35f9d2a
authored
[CodeGen] Migrate away from PointerUnion::dyn_cast (NFC) (#122778)
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 Prototype.P to be nonnull.1 parent ffe5cdd commit 35f9d2a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4507 | 4507 | | |
4508 | 4508 | | |
4509 | 4509 | | |
4510 | | - | |
| 4510 | + | |
4511 | 4511 | | |
4512 | 4512 | | |
4513 | 4513 | | |
| |||
0 commit comments