[all-commits] [llvm/llvm-project] b77f51: MCSymbolXOFF: Remove classof

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Aug 3 18:49:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b77f51f3f1137e68ed8d5190abdc50b16f48c011
      https://github.com/llvm/llvm-project/commit/b77f51f3f1137e68ed8d5190abdc50b16f48c011
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-08-03 (Sun, 03 Aug 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCSymbolXCOFF.h
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCXCOFFStreamer.cpp
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

  Log Message:
  -----------
  MCSymbolXOFF: Remove classof

The object file format specific derived classes are used in context
where the type is statically known. We don't use isa/dyn_cast and we
want to eliminate MCSymbol::Kind in the base class.



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