llvm-project
a5159e20 - [AST] Migrate away from PointerUnion::dyn_cast (NFC) (#123890)

Commit
1 year ago
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#123890) 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.
Parents
Loading