diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-26 01:34:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-26 01:34:59 -0800 |
commit | f09a6f632584c2b34f8f2d048a5420b040bb1005 (patch) | |
tree | 09aac17a46017aa0366e28ac17008944b8c65242 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | ab895ad2bfb6835e8c47d8e616edb6cadaf59b77 (diff) | |
download | llvm-f09a6f632584c2b34f8f2d048a5420b040bb1005.zip llvm-f09a6f632584c2b34f8f2d048a5420b040bb1005.tar.gz llvm-f09a6f632584c2b34f8f2d048a5420b040bb1005.tar.bz2 |
[Sema] Migrate away from PointerUnion::dyn_cast (NFC) (#124447)
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 AnyFunc to be nonnull.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions