[all-commits] [llvm/llvm-project] dd4ebe: MCSectionCOFF: Remove classof

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jul 25 22:11:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd4ebe6514a9250d10004cdf8876fca7394997d2
      https://github.com/llvm/llvm-project/commit/dd4ebe6514a9250d10004cdf8876fca7394997d2
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCSectionCOFF.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/MC/MCWinCOFFStreamer.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp

  Log Message:
  -----------
  MCSectionCOFF: Remove classof

The object file format specific derived classes are used in context like
MCStreamer and MCObjectTargetWriter where the type is statically known.
We don't use isa/dyn_cast and we want to eliminate
MCSection::SectionVariant 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