[all-commits] [llvm/llvm-project] f2306b: [llvm] Replace LLVM_ATTRIBUTE_UNUSED with [[maybe_...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Wed Oct 15 06:54:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2306b6304df4ed7dfdc4692034c23c5e21db8d9
      https://github.com/llvm/llvm-project/commit/f2306b6304df4ed7dfdc4692034c23c5e21db8d9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/CodeGen/LiveRangeCalc.h
    M llvm/include/llvm/Support/DebugLog.h
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/CodeGen/MachineCopyPropagation.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/Support/PrettyStackTrace.cpp
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
    M llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
    M llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp
    M llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
    M llvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
    M llvm/lib/Target/Sparc/SparcFrameLowering.cpp
    M llvm/lib/Target/X86/X86FloatingPoint.cpp
    M llvm/lib/TargetParser/Host.cpp
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
    M llvm/lib/Transforms/ObjCARC/PtrState.h
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/unittests/ADT/SmallVectorTest.cpp
    M llvm/utils/TableGen/Common/Types.cpp

  Log Message:
  -----------
  [llvm] Replace LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]] (NFC) (#163507)

This patch replaces LLVM_ATTRIBUTE_UNUSED with [[maybe_unused]].  Note
that this patch adjusts the placement of [[maybe_unused]] to comply
with the C++17 language.



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