Commit 1ba10ec
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 FD->TemplateOrSpecialization to be nonnull.1 parent 0bbfd96 commit 1ba10ec
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4682 | 4682 | | |
4683 | 4683 | | |
4684 | 4684 | | |
4685 | | - | |
4686 | | - | |
| 4685 | + | |
| 4686 | + | |
4687 | 4687 | | |
4688 | 4688 | | |
4689 | 4689 | | |
| |||
0 commit comments