[all-commits] [llvm/llvm-project] c2faf6: MCSectionWasm: Remove classof

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


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

  Changed paths:
    M llvm/include/llvm/MC/MCSectionWasm.h
    M llvm/lib/MC/MCParser/WasmAsmParser.cpp
    M llvm/lib/MC/MCWasmStreamer.cpp
    M llvm/lib/MC/WasmObjectWriter.cpp
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp

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