summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/tool
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-05-19 16:39:08 +0000
committerAlexander Kornienko <alexfh@google.com>2014-05-19 16:39:08 +0000
commitbef51cdf055d19dfb276c0e155d82acf62feed09 (patch)
tree65692f83672d62722c421559d7d1e28b70821794 /clang-tools-extra/clang-tidy/tool
parent06c59e259867ee866b23ae3108a10e62af72c852 (diff)
downloadbcm5719-llvm-bef51cdf055d19dfb276c0e155d82acf62feed09.tar.gz
bcm5719-llvm-bef51cdf055d19dfb276c0e155d82acf62feed09.zip
Improved llvm-namespace-comment check.
Summary: 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 ;) Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3825 llvm-svn: 209141
Diffstat (limited to 'clang-tools-extra/clang-tidy/tool')
-rw-r--r--clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
index 86def378e5b..a43af88c027 100644
--- a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
+++ b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
@@ -31,7 +31,6 @@ const char DefaultChecks[] =
"*," // Enable all checks, except these:
"-clang-analyzer-alpha*," // Too many false positives.
"-llvm-include-order," // Not implemented yet.
- "-llvm-namespace-comment," // Not complete.
"-google-*,"; // Doesn't apply to LLVM.
static cl::opt<std::string>
Checks("checks", cl::desc("Comma-separated list of globs with optional '-'\n"
OpenPOWER on IntegriCloud