diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-25 14:05:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 14:05:01 -0800 |
commit | 563c7c5539f05e7f8cbb42565c1f24466019f38b (patch) | |
tree | e781ef55d6fd0ae8fd39e62c2b7668923e017737 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1395cd015f2edf26f8c2567870183d63f4fdd753 (diff) | |
download | llvm-563c7c5539f05e7f8cbb42565c1f24466019f38b.zip llvm-563c7c5539f05e7f8cbb42565c1f24466019f38b.tar.gz llvm-563c7c5539f05e7f8cbb42565c1f24466019f38b.tar.bz2 |
[clang] Migrate away from PointerUnion::dyn_cast (NFC) (#124425)
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>
This patch migrates uses of PointerUnion::dyn_cast to
dyn_cast_if_present (see the definition of PointerUnion::dyn_cast).
Note that we cannot use dyn_cast in any of the migrations in this
patch; placing
assert(!X.isNull());
just before any of dyn_cast_if_present in this patch triggers some
failure in check-clang.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions