Commit e0c5a85
authored
[memprof] Migrate away from PointerUnion::dyn_cast (NFC) (#124505)
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 cast
because we know which alternative to expect in the ternary expression.1 parent 5d24341 commit e0c5a85
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3598 | 3598 | | |
3599 | 3599 | | |
3600 | 3600 | | |
3601 | | - | |
3602 | | - | |
3603 | | - | |
3604 | | - | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
3605 | 3604 | | |
3606 | 3605 | | |
3607 | 3606 | | |
| |||
0 commit comments