aboutsummaryrefslogtreecommitdiff
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
commit76c21ad1c1d1467f26f3a7a94196220e74dbdc11 (patch)
tree96145fd7743b259a580afc3b0aacb1c082201eba
parent049a6cfcf056d8b0e4ad2af8fd4a7c3bcb0a2279 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@213085 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/clang-tidy/diagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/clang-tidy/diagnostic.cpp b/test/clang-tidy/diagnostic.cpp
index 6a1026ba..eaa5189c 100644
--- a/test/clang-tidy/diagnostic.cpp
+++ b/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