[all-commits] [llvm/llvm-project] 1e5668: MCSectionGOFF: Remove classof

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 26 09:42:59 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCSectionGOFF.h
    M llvm/lib/MC/GOFFObjectWriter.cpp

  Log Message:
  -----------
  MCSectionGOFF: 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