diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-24 01:12:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-24 01:12:30 -0800 |
commit | b4ef11d0e20b8263012613697503533fbb2119d6 (patch) | |
tree | f4c5d59de2300d36e524797bfdd9b387f12c1175 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 1fa56038f6ea2b35e7b51d8151cfe7dfcb3abcf3 (diff) | |
download | llvm-b4ef11d0e20b8263012613697503533fbb2119d6.zip llvm-b4ef11d0e20b8263012613697503533fbb2119d6.tar.gz llvm-b4ef11d0e20b8263012613697503533fbb2119d6.tar.bz2 |
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#124228)
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 Source to be nonnull.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions