aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-01-21 15:02:41 -0800
committerGitHub <noreply@github.com>2025-01-21 15:02:41 -0800
commitdebe7bd9168b3e7c2fdcef4f66a0ce033b6b4b54 (patch)
tree9d17843530016d6673ddc6a81410a40e450c579b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent81c0f3023fc38e3ea720045407a17f47653ea2ac (diff)
downloadllvm-debe7bd9168b3e7c2fdcef4f66a0ce033b6b4b54.zip
llvm-debe7bd9168b3e7c2fdcef4f66a0ce033b6b4b54.tar.gz
llvm-debe7bd9168b3e7c2fdcef4f66a0ce033b6b4b54.tar.bz2
[memprof] Migrate away from PointerUnion::dyn_cast (NFC) (#123716)
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 expect the arguments to be of the requested types. Note that all these cases have assert and/or dereferences just after cast, implying that the return value from cast must be nonnull. --------- Co-authored-by: Nikita Popov <github@npopov.com>
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions