[all-commits] [llvm/llvm-project] 2dde5c: Cleanup llvm/utils/TableGen headers
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Mon Jan 31 02:16:44 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2dde5c97349e3c5b2f972ad59dcaa321aa65493e
https://github.com/llvm/llvm-project/commit/2dde5c97349e3c5b2f972ad59dcaa321aa65493e
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M llvm/utils/TableGen/CompressInstEmitter.cpp
M llvm/utils/TableGen/GICombinerEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
M llvm/utils/TableGen/InfoByHwMode.cpp
M llvm/utils/TableGen/InfoByHwMode.h
M llvm/utils/TableGen/IntrinsicEmitter.cpp
M llvm/utils/TableGen/OptParserEmitter.cpp
M llvm/utils/TableGen/OptRSTEmitter.cpp
M llvm/utils/TableGen/PredicateExpander.h
M llvm/utils/TableGen/RegisterBankEmitter.cpp
M llvm/utils/TableGen/SearchableTableEmitter.cpp
M llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
M llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h
M llvm/utils/TableGen/X86DisassemblerTables.cpp
M llvm/utils/TableGen/X86DisassemblerTables.h
M llvm/utils/TableGen/X86FoldTablesEmitter.cpp
M llvm/utils/TableGen/X86RecognizableInstr.cpp
M llvm/utils/TableGen/X86RecognizableInstr.h
Log Message:
-----------
Cleanup llvm/utils/TableGen headers
Based on the output of include-what-you-use.
It's an utility directory, so no much impact on other code areas.
clang++ -E -Iinclude -I../llvm/include ../llvm/utils/TableGen/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l
before: 4327274
after: 4316190
Related discourse thread: https://llvm.discourse.group/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D118466
Commit: 25991aadcc57fdada57147a9c83ca6301f6430bb
https://github.com/llvm/llvm-project/commit/25991aadcc57fdada57147a9c83ca6301f6430bb
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M llvm/include/llvm/Remarks/BitstreamRemarkSerializer.h
M llvm/include/llvm/Remarks/RemarkLinker.h
M llvm/include/llvm/Remarks/RemarkParser.h
M llvm/include/llvm/Remarks/RemarkSerializer.h
M llvm/include/llvm/Remarks/RemarkStreamer.h
M llvm/lib/Remarks/BitstreamRemarkParser.cpp
M llvm/lib/Remarks/BitstreamRemarkParser.h
M llvm/lib/Remarks/RemarkLinker.cpp
M llvm/lib/Remarks/RemarkParser.cpp
M llvm/lib/Remarks/YAMLRemarkParser.h
M llvm/lib/Remarks/YAMLRemarkSerializer.cpp
M llvm/tools/llvm-opt-report/OptReport.cpp
Log Message:
-----------
Cleanup LLVMRemarks includes
Based on the output of include-what you-use.
Most notably, llvm/Remarks/Remark.h is no longer automatically included by
llvm/Remarks/RemarkParser.h, so client code may need to include explicitly.
clang++ -E -Iinclude -I../llvm/include ../llvm/lib/Remarks/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l
before: 770253
after: 759347
Related discourse thread: https://llvm.discourse.group/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D118506
Commit: b8290ffa9fd935b8a0e99634fccfae9ed87ad9b5
https://github.com/llvm/llvm-project/commit/b8290ffa9fd935b8a0e99634fccfae9ed87ad9b5
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Sema/Inputs/reserved-identifier.h
M clang/test/Sema/reserved-identifier.c
Log Message:
-----------
Fix -Wreserved-identifier in presence of system macro
Do not warn on reserved identifiers resulting from expansion of system macros.
Also properly test -Wreserved-identifier wrt. system headers.
Should fix #49592
Differential Revision: https://reviews.llvm.org/D118532
Compare: https://github.com/llvm/llvm-project/compare/b088237f08c4...b8290ffa9fd9
More information about the All-commits
mailing list