diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-18 09:42:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-18 09:42:55 -0800 |
commit | 02a56c4d01c1621846d7342982d62468e45cede0 (patch) | |
tree | b055abcdf1afa2be9d9d5afd96b67010e738709b /llvm/lib/CodeGen/MachineSink.cpp | |
parent | 0a33532500a90668f5cfe485134e9c9c388d3614 (diff) | |
download | llvm-02a56c4d01c1621846d7342982d62468e45cede0.zip llvm-02a56c4d01c1621846d7342982d62468e45cede0.tar.gz llvm-02a56c4d01c1621846d7342982d62468e45cede0.tar.bz2 |
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#123444)
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 ValueOrInherited to be nonnull. Note that isSet
checks to see if ValueOrInherited is nonnull.
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions