Commit 4075915
authored
[Sema] Migrate away from PointerUnion::dyn_cast (NFC) (#124503)
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 U.first to be nonnull.1 parent dc6411d commit 4075915
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9235 | 9235 | | |
9236 | 9236 | | |
9237 | 9237 | | |
9238 | | - | |
| 9238 | + | |
9239 | 9239 | | |
9240 | 9240 | | |
9241 | 9241 | | |
| |||
17525 | 17525 | | |
17526 | 17526 | | |
17527 | 17527 | | |
17528 | | - | |
| 17528 | + | |
17529 | 17529 | | |
17530 | 17530 | | |
17531 | 17531 | | |
| |||
0 commit comments