[all-commits] [llvm/llvm-project] a0b41a: Triple: Forward declare Twine and remove include
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Jun 25 05:05:02 PDT 2025
Branch: refs/heads/users/arsenm/triple/forward-declare-twine
Home: https://github.com/llvm/llvm-project
Commit: a0b41a898e9b220e1b2754967d88cdd667d64915
https://github.com/llvm/llvm-project/commit/a0b41a898e9b220e1b2754967d88cdd667d64915
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-06-25 (Wed, 25 Jun 2025)
Changed paths:
M clang/lib/Lex/PPMacroExpansion.cpp
M llvm/include/llvm/TargetParser/Triple.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/CodeGen/CodeGenTargetMachineImpl.cpp
M llvm/lib/MC/MCDisassembler/Disassembler.h
M llvm/lib/MC/MCSectionELF.cpp
M llvm/lib/MC/MCSubtargetInfo.cpp
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
M llvm/lib/TargetParser/CSKYTargetParser.cpp
M llvm/lib/TargetParser/LoongArchTargetParser.cpp
M llvm/lib/TargetParser/Triple.cpp
M llvm/lib/TargetParser/Unix/Host.inc
Log Message:
-----------
Triple: Forward declare Twine and remove include
It turns out real Twine usage is scarce, and seems to only
be used from clang. Add a few overloads for the common cases,
and introduce a string&& case as the base case.
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