diff options
author | Kazu Hirata <kazu@google.com> | 2025-02-01 08:13:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-01 08:13:41 -0800 |
commit | e11e65f08b00a96916ce5ec21bf31d061158829d (patch) | |
tree | edb16ddf978e67e84a80e1d87f3fc001dc2aa1d6 /llvm/docs/tutorial | |
parent | 657dc6d05e8e20d5c3b41161ace7fba5d2cb6e26 (diff) | |
download | llvm-e11e65f08b00a96916ce5ec21bf31d061158829d.zip llvm-e11e65f08b00a96916ce5ec21bf31d061158829d.tar.gz llvm-e11e65f08b00a96916ce5ec21bf31d061158829d.tar.bz2 |
[CodeGen] Migrate away from PointerUnion::dyn_cast (NFC) (#125336)
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 E to be nonnull.
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions