summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-07-15 18:52:34 +0000
committerReid Kleckner <reid@kleckner.net>2014-07-15 18:52:34 +0000
commit230660cf21fc1229073e035da803829f747dfcca (patch)
tree4997e3dc8db5296e3fc6ceeeeec3875f50f8d352 /clang-tools-extra
parentdb88e31e1aad26f1067017a88234e261f369c682 (diff)
downloadbcm5719-llvm-230660cf21fc1229073e035da803829f747dfcca.tar.gz
bcm5719-llvm-230660cf21fc1229073e035da803829f747dfcca.zip
Fix the diagnostic.cpp test to explicitly disable more google checks
Imagine, hypothetically, that you had a build of clang-tidy that enabled the google-* checks by default. If you had such a binary, then this test would fail. Making it pass in that configuration isn't such a bad thing. llvm-svn: 213085
Diffstat (limited to 'clang-tools-extra')
-rw-r--r--clang-tools-extra/test/clang-tidy/diagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/diagnostic.cpp b/clang-tools-extra/test/clang-tidy/diagnostic.cpp
index 6a1026baddf..eaa5189cfc6 100644
--- a/clang-tools-extra/test/clang-tidy/diagnostic.cpp
+++ b/clang-tools-extra/test/clang-tidy/diagnostic.cpp
@@ -1,5 +1,5 @@
// RUN: clang-tidy -checks='-*,misc-use-override' %s.nonexistent.cpp -- | FileCheck -check-prefix=CHECK1 %s
-// RUN: clang-tidy -checks='google-explicit-constructor' %s -- -fan-unknown-option | FileCheck -check-prefix=CHECK2 %s
+// RUN: clang-tidy -checks='-google-*,google-explicit-constructor' %s -- -fan-unknown-option | FileCheck -check-prefix=CHECK2 %s
// RUN: clang-tidy -checks='-*,google-explicit-constructor,clang-diagnostic-literal-conversion' %s -- -fan-unknown-option | FileCheck -check-prefix=CHECK3 %s
// RUN: clang-tidy -checks='-*,misc-use-override,clang-diagnostic-macro-redefined' %s -- -DMACRO_FROM_COMMAND_LINE | FileCheck -check-prefix=CHECK4 %s
OpenPOWER on IntegriCloud