[all-commits] [llvm/llvm-project] 96e387: [AsmPrinter] Migrate away from PointerUnion::dyn_c...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Tue Apr 15 02:36:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96e38766118c62ed42ddedd4642284cdca12904e
      https://github.com/llvm/llvm-project/commit/96e38766118c62ed42ddedd4642284cdca12904e
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp

  Log Message:
  -----------
  [AsmPrinter] Migrate away from PointerUnion::dyn_cast (NFC) (#135740)

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>

We use dyn_cast_if_present here because Bound can be null.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list