[PATCH] [clang-tidy] Add an option to replace unrecognized namespace ending comments.
Alexander Kornienko
alexfh at google.com
Thu Mar 5 04:19:32 PST 2015
Hi djasper,
Add an option to replace unrecognized namespace ending comments. The
option will help in particular when a namespace ending comment is mistyped or
doesn't fit the regexp for other reason, e.g.:
namespace a {
namespace b {
namespace {
} // anoynmous namespace
} // b
} // namesapce a
http://reviews.llvm.org/D8078
Files:
clang-tidy/readability/NamespaceCommentCheck.cpp
clang-tidy/readability/NamespaceCommentCheck.h
unittests/clang-tidy/ClangTidyTest.h
unittests/clang-tidy/ReadabilityModuleTest.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8078.21268.patch
Type: text/x-patch
Size: 8720 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150305/a0978a0a/attachment.bin>
More information about the cfe-commits
mailing list