Handle various forms of existing namespace closing comments, fix
existing comments with wrong namespace name, ignore short namespaces.
The state of this check now seems to be enough to enable it by default to gather
user feedback ;)
Paths
| Differential D3825
Improved llvm-namespace-comment check. ClosedPublic Authored by alexfh on May 19 2014, 7:26 AM.
Details Summary Handle various forms of existing namespace closing comments, fix The state of this check now seems to be enough to enable it by default to gather
Diff Detail Event Timelinealexfh updated this object.
klimek edited edge metadata. Comment Actionslg
This revision is now accepted and ready to land.May 19 2014, 9:29 AM
Revision Contents
Diff 9579 clang-tidy/llvm/CMakeLists.txt
clang-tidy/llvm/IncludeOrderCheck.h
clang-tidy/llvm/IncludeOrderCheck.cpp
clang-tidy/llvm/LLVMTidyModule.h
clang-tidy/llvm/LLVMTidyModule.cpp
clang-tidy/llvm/NamespaceCommentCheck.h
clang-tidy/llvm/NamespaceCommentCheck.cpp
clang-tidy/tool/ClangTidyMain.cpp
unittests/clang-tidy/LLVMModuleTest.cpp
|
This overall needs a lot more comments to be understandable... perhaps also try to pull out a few functions?