diff options
author | Kazu Hirata <kazu@google.com> | 2025-02-01 08:13:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-01 08:13:20 -0800 |
commit | 657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26 (patch) | |
tree | 261ca7e25e11afac96a30de96426e36514863972 /llvm/docs/tutorial | |
parent | 16d4453f2f5d9554ce39507fda0f33ce9066007b (diff) | |
download | llvm-657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26.zip llvm-657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26.tar.gz llvm-657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26.tar.bz2 |
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#125335)
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 InVectors.front() and P to be nonnull.
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions