Author: hokein
Date: Wed Apr 27 11:09:34 2016
New Revision: 267731

URL: http://llvm.org/viewvc/llvm-project?rev=267731&view=rev
Log:
Don't search compilation database in explain-check, fixing buildbot test
failure.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp?rev=267731&r1=267730&r2=267731&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp Wed Apr 27 
11:09:34 2016
@@ -1,7 +1,7 @@
 // RUN: clang-tidy -checks=-*,modernize-use-nullptr -explain-config | 
FileCheck --check-prefix=CHECK-MESSAGE1 %s
 // RUN: clang-tidy -config="{Checks: '-*,modernize-use-nullptr'}" 
-explain-config | FileCheck --check-prefix=CHECK-MESSAGE2 %s
 // 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-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 -explain-config %S/Inputs/explain-config/a.cc -- | grep 
"'modernize-use-nullptr' is enabled in the 
%S/Inputs/explain-config/.clang-tidy."
 


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to