diff options
author | Haojian Wu <hokein@google.com> | 2016-04-27 10:22:31 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2016-04-27 10:22:31 +0000 |
commit | cd3238453973bc0e9eec3762aee456b1cf71a52c (patch) | |
tree | d750ebabd9383b85c0173151e444591e2dc30174 /clang-tools-extra/test/clang-tidy/explain-checks.cpp | |
parent | d2ea708739864a65f6483dd1e66a2951e8170ba3 (diff) | |
download | bcm5719-llvm-cd3238453973bc0e9eec3762aee456b1cf71a52c.tar.gz bcm5719-llvm-cd3238453973bc0e9eec3762aee456b1cf71a52c.zip |
Don't search compilation database in explain-check test.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19583
llvm-svn: 267687
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/explain-checks.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/explain-checks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/explain-checks.cpp b/clang-tools-extra/test/clang-tidy/explain-checks.cpp index b1865e715c1..fdfebb7482f 100644 --- a/clang-tools-extra/test/clang-tidy/explain-checks.cpp +++ b/clang-tools-extra/test/clang-tidy/explain-checks.cpp @@ -4,7 +4,7 @@ // 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." +// 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'. // CHECK-MESSAGE2: 'modernize-use-nullptr' is enabled in the command-line option '-config'. |