diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-29 07:48:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-29 07:48:06 -0800 |
commit | c583df46d404507f62c605b6f96cde22dcd9e948 (patch) | |
tree | 029ca25a98dc1359129f4d077b119c73499289b5 /llvm/lib/Object | |
parent | a34a087fc59779c53512eda094e1ca914a4526f2 (diff) | |
download | llvm-c583df46d404507f62c605b6f96cde22dcd9e948.zip llvm-c583df46d404507f62c605b6f96cde22dcd9e948.tar.gz llvm-c583df46d404507f62c605b6f96cde22dcd9e948.tar.bz2 |
[AST] Migrate away from PointerUnion::dyn_cast (NFC) (#124882)
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 It->second to be nonnull.
getSingleDynTypedNodeFromParentMap ends with a deference of U.
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions