diff options
author | Kazu Hirata <kazu@google.com> | 2024-12-18 10:56:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 10:56:27 -0800 |
commit | 6e41483b8430ee3c4c3076b0a24537492ed19386 (patch) | |
tree | 549192c9a3697d9473670f87014fda1b09702c70 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | d57230c72e7c1398c52b1676809224b633fa289d (diff) | |
download | llvm-6e41483b8430ee3c4c3076b0a24537492ed19386.zip llvm-6e41483b8430ee3c4c3076b0a24537492ed19386.tar.gz llvm-6e41483b8430ee3c4c3076b0a24537492ed19386.tar.bz2 |
[MemRef] Migrate away from PointerUnion::{is,get} (NFC) (#120382)
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 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions