[all-commits] [llvm/llvm-project] d1ee63: MCSymbol: Remove Kind

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Aug 3 19:17:29 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCSymbol.h
    M llvm/include/llvm/MC/MCSymbolCOFF.h
    M llvm/include/llvm/MC/MCSymbolELF.h
    M llvm/include/llvm/MC/MCSymbolGOFF.h
    M llvm/include/llvm/MC/MCSymbolMachO.h
    M llvm/include/llvm/MC/MCSymbolWasm.h
    M llvm/include/llvm/MC/MCSymbolXCOFF.h
    M llvm/lib/MC/MCContext.cpp

  Log Message:
  -----------
  MCSymbol: Remove Kind

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 discourage dynamic dispatching on the type.



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