[clang-tools-extra] r267731 - Don't search compilation database in explain-check, fixing buildbot test

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 09:09:34 PDT 2016


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."
 




More information about the cfe-commits mailing list