diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-22 00:15:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 00:15:46 -0800 |
commit | a5159e200eb25c2873fb8db432962394a879e887 (patch) | |
tree | ea0c83fb3482878c825d0da5a37ce5adbab70e2d /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 9decc24c6ba5398f7cb1b2a0c26bd36e2da479f8 (diff) | |
download | llvm-a5159e200eb25c2873fb8db432962394a879e887.zip llvm-a5159e200eb25c2873fb8db432962394a879e887.tar.gz llvm-a5159e200eb25c2873fb8db432962394a879e887.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions