Commit dc6411d
authored
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#124502)
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 TemplateOrSpecialization to be nonnull.1 parent 5d6d982 commit dc6411d
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4360 | 4360 | | |
4361 | 4361 | | |
4362 | 4362 | | |
4363 | | - | |
4364 | | - | |
4365 | | - | |
| 4363 | + | |
| 4364 | + | |
| 4365 | + | |
4366 | 4366 | | |
4367 | 4367 | | |
4368 | 4368 | | |
| |||
4371 | 4371 | | |
4372 | 4372 | | |
4373 | 4373 | | |
4374 | | - | |
4375 | | - | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
4376 | 4377 | | |
4377 | 4378 | | |
4378 | 4379 | | |
| |||
0 commit comments