diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-21 11:57:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 11:57:53 -0800 |
commit | a0ec385873dfe96bc5f286a3b13d83c598ee37da (patch) | |
tree | 7f92b519182dbb9939e42e1222fde7fc14cf14e4 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 662133a278f4f3553f061f7999759bae4e842820 (diff) | |
download | llvm-a0ec385873dfe96bc5f286a3b13d83c598ee37da.zip llvm-a0ec385873dfe96bc5f286a3b13d83c598ee37da.tar.gz llvm-a0ec385873dfe96bc5f286a3b13d83c598ee37da.tar.bz2 |
[lld] Migrate away from PointerUnion::dyn_cast (NFC) (#123721)
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 cast
because we know expect isa<InputSection *>(reloc.referent) to be true.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions