aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectOptimize.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-01-28 10:56:09 -0800
committerGitHub <noreply@github.com>2025-01-28 10:56:09 -0800
commit986581f6bcef8736c942a9fec9cf12bfbc57c1f6 (patch)
tree2868bbf5f1c3f2bfd7b84cd3675331bff9f7bf7d /llvm/lib/CodeGen/SelectOptimize.cpp
parente29c085812e259910a3d8b6c2d2f471d1c3eede4 (diff)
downloadllvm-986581f6bcef8736c942a9fec9cf12bfbc57c1f6.zip
llvm-986581f6bcef8736c942a9fec9cf12bfbc57c1f6.tar.gz
llvm-986581f6bcef8736c942a9fec9cf12bfbc57c1f6.tar.bz2
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#124674)
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 already have dyn_cast_if_present<T*>(ExplicitInfo) elsewhere in ClassTemplateSpecializationDecl and VarTemplateSpecializationDecl, meaning that ExplicitInfo is not guaranteed to be nonnull in those classes.
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions