Update end-of-namespace comments generated by
tablegen emitters to fulfill the rules setup by
clang-tidy's llvm-namespace-comment checker.
Fixed a few end-of-namespace comments in the
tablegen source code as well.
Paths
| Differential D66396
[TableGen] Correct comments for end of namespace. NFC ClosedPublic Authored by bjope on Aug 18 2019, 12:06 PM.
Details Summary Update end-of-namespace comments generated by Fixed a few end-of-namespace comments in the
Diff Detail
Event TimelineComment Actions Basically I assume that nobody really cares about formatting and comments in generated code (so in one sense this is stupd, and in another sense it won't hurt much either). The benefit is that if I run clang-tidy on the llvm/lib/Target code like this ../clang-tools-extra/clang-tidy/tool/run-clang-tidy.py -clang-tidy-binary build/bin/clang-tidy -p build -header-filter=.* lib/Target/ then I will get less complaints related to the tablegen-generated code. Haven't added any reviewers (and I don't really know who would be appropriate, @stoklund is "code owner" for tablegen but haven't been active for over two years afaict). This revision is now accepted and ready to land.Aug 20 2019, 12:23 PM Closed by commit rL369865: [TableGen] Correct comments for end of namespace. NFC (authored by bjope). · Explain WhyAug 25 2019, 3:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 215789 llvm/utils/TableGen/AsmMatcherEmitter.cpp
llvm/utils/TableGen/CodeGenMapTable.cpp
llvm/utils/TableGen/DAGISelMatcherGen.cpp
llvm/utils/TableGen/DFAPacketizerEmitter.cpp
llvm/utils/TableGen/DisassemblerEmitter.cpp
llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
llvm/utils/TableGen/InstrDocsEmitter.cpp
llvm/utils/TableGen/InstrInfoEmitter.cpp
llvm/utils/TableGen/SubtargetEmitter.cpp
llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
|