summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2016-04-27 13:23:39 +0000
committerHaojian Wu <hokein@google.com>2016-04-27 13:23:39 +0000
commit68d2b881d28ac77933d2580a50e23ec2e89a6a13 (patch)
tree49242b77f116be0bfe3cad9b0f5750c0d88bbb3f
parent5aac22fc234d8fbe83c72f58b35d1e50a9f42ff7 (diff)
downloadbcm5719-llvm-68d2b881d28ac77933d2580a50e23ec2e89a6a13.tar.gz
bcm5719-llvm-68d2b881d28ac77933d2580a50e23ec2e89a6a13.zip
Remove explain-config testcase that detect hard-coded check.
Remove it for now, we need to better way to figure out how to test it. llvm-svn: 267711
-rw-r--r--clang-tools-extra/test/clang-tidy/explain-checks.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/explain-checks.cpp b/clang-tools-extra/test/clang-tidy/explain-checks.cpp
index fdfebb7482f..bf17e5924a2 100644
--- a/clang-tools-extra/test/clang-tidy/explain-checks.cpp
+++ b/clang-tools-extra/test/clang-tidy/explain-checks.cpp
@@ -3,7 +3,6 @@
// RUN: clang-tidy -checks=modernize-use-nullptr -config="{Checks: '-*,modernize-use-nullptr'}" -explain-config | FileCheck --check-prefix=CHECK-MESSAGE3 %s
// RUN: clang-tidy -checks=modernize-use-nullptr -config="{Checks: '-*,-modernize-use-nullptr'}" %S/Inputs/explain-config/a.cc -explain-config | FileCheck --check-prefix=CHECK-MESSAGE4 %s
// RUN: clang-tidy -checks=modernize-use-nullptr -config="{Checks: '-*,modernize-*'}" -explain-config | FileCheck --check-prefix=CHECK-MESSAGE5 %s
-// RUN: clang-tidy -config="{Checks: 'modernize-use-nullptr'}" -explain-config | FileCheck --check-prefix=CHECK-MESSAGE6 %s
// RUN: clang-tidy -explain-config %S/Inputs/explain-config/a.cc -- | grep "'modernize-use-nullptr' is enabled in the %S/Inputs/explain-config/.clang-tidy."
// CHECK-MESSAGE1: 'modernize-use-nullptr' is enabled in the command-line option '-checks'.
@@ -11,4 +10,3 @@
// CHECK-MESSAGE3: 'modernize-use-nullptr' is enabled in the command-line option '-checks'.
// CHECK-MESSAGE4: 'modernize-use-nullptr' is enabled in the command-line option '-checks'.
// CHECK-MESSAGE5: 'modernize-use-nullptr' is enabled in the command-line option '-checks'.
-// CHECK-MESSAGE6: 'clang-analyzer-unix.API' is enabled in the clang-tidy binary.
OpenPOWER on IntegriCloud