[PATCH] D19583: Don't search compilation database in explain-check test.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 27 03:28:32 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL267687: Don't search compilation database in explain-check test. (authored by hokein).

Changed prior to commit:
  http://reviews.llvm.org/D19583?vs=55177&id=55178#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D19583

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

Index: clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp
===================================================================
--- clang-tools-extra/trunk/test/clang-tidy/explain-checks.cpp
+++ clang-tools-extra/trunk/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'.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19583.55178.patch
Type: text/x-patch
Size: 1239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160427/9ad9e66e/attachment.bin>


More information about the cfe-commits mailing list