summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
index e130d13930d..95dd51f6a53 100644
--- a/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
+++ b/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
@@ -34,7 +34,11 @@ static cl::opt<std::string> Checks(
static cl::opt<std::string> DisableChecks(
"disable-checks",
cl::desc("Regular expression matching the names of the checks to disable."),
- cl::init("clang-analyzer-alpha.*"), cl::cat(ClangTidyCategory));
+ cl::init("(clang-analyzer-alpha.*" // To many false positives.
+ "|llvm-include-order" // Not implemented yet.
+ "|llvm-namespace-comment" // Not complete.
+ "|google-.*"), // Doesn't apply to LLVM.
+ cl::cat(ClangTidyCategory));
static cl::opt<bool> Fix("fix", cl::desc("Fix detected errors if possible."),
cl::init(false), cl::cat(ClangTidyCategory));
OpenPOWER on IntegriCloud