diff options
author | Kazu Hirata <kazu@google.com> | 2025-02-05 07:16:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-05 07:16:36 -0800 |
commit | c517edbd0cce53c8e1e0b9c7301be7eb678dae4b (patch) | |
tree | 59202bd925b0923a4967450a81e9352fcc455ad0 /clang/lib/Analysis/ProgramPoint.cpp | |
parent | 08bda1cc6b0d2f1d31a89a76b5c154a11086c420 (diff) | |
download | llvm-c517edbd0cce53c8e1e0b9c7301be7eb678dae4b.zip llvm-c517edbd0cce53c8e1e0b9c7301be7eb678dae4b.tar.gz llvm-c517edbd0cce53c8e1e0b9c7301be7eb678dae4b.tar.bz2 |
[Sema] Migrate away from PointerUnion::dyn_cast (NFC) (#125811)
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 Specialized to be nonnull. Note that if Specialized
were
null, dereferencing Tmpl would trigger a segfault.
Diffstat (limited to 'clang/lib/Analysis/ProgramPoint.cpp')
0 files changed, 0 insertions, 0 deletions