Commit 74676de
committed
[Sema] 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 Stored to be nonnull.1 parent 7253c6f commit 74676de
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4661 | 4661 | | |
4662 | 4662 | | |
4663 | 4663 | | |
4664 | | - | |
| 4664 | + | |
4665 | 4665 | | |
4666 | 4666 | | |
4667 | 4667 | | |
| |||
0 commit comments