[all-commits] [llvm/llvm-project] 7a4bc5: MCSectionMachO: Remove classof

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 26 10:05:52 PDT 2025


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

  Changed paths:
    M llvm/include/llvm/MC/MCSectionMachO.h

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