Commit 3e29632
committed
[libclang] 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 Storage to be nonnull.1 parent 6980d97 commit 3e29632
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7415 | 7415 | | |
7416 | 7416 | | |
7417 | 7417 | | |
7418 | | - | |
| 7418 | + | |
7419 | 7419 | | |
7420 | 7420 | | |
7421 | 7421 | | |
7422 | | - | |
| 7422 | + | |
7423 | 7423 | | |
7424 | 7424 | | |
7425 | 7425 | | |
| |||
7438 | 7438 | | |
7439 | 7439 | | |
7440 | 7440 | | |
7441 | | - | |
| 7441 | + | |
7442 | 7442 | | |
7443 | 7443 | | |
7444 | 7444 | | |
7445 | | - | |
| 7445 | + | |
7446 | 7446 | | |
7447 | 7447 | | |
7448 | 7448 | | |
| |||
0 commit comments