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