diff options
author | Kazu Hirata <kazu@google.com> | 2024-12-12 07:54:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 07:54:48 -0800 |
commit | 2f8238f849c4836b333082f387d91408234ea73b (patch) | |
tree | 61a07fab288e27d94d83aa2c31f8c1086d85e559 /llvm/unittests/ProfileData/MemProfTest.cpp | |
parent | a8e66d7f17bc648865cebf6b1e58c7a9071c6a84 (diff) | |
download | llvm-2f8238f849c4836b333082f387d91408234ea73b.zip llvm-2f8238f849c4836b333082f387d91408234ea73b.tar.gz llvm-2f8238f849c4836b333082f387d91408234ea73b.tar.bz2 |
[llvm] Migrate away from PointerUnion::{is,get} (NFC) (#119679)
Note that PointerUnion::{is,get} have 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>
I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.
Diffstat (limited to 'llvm/unittests/ProfileData/MemProfTest.cpp')
0 files changed, 0 insertions, 0 deletions