[clang-tools-extra] r220632 - [clang-tidy] Simplify RUN: lines in the test

Alexander Kornienko alexfh at google.com
Sat Oct 25 19:18:07 PDT 2014


Author: alexfh
Date: Sat Oct 25 21:18:06 2014
New Revision: 220632

URL: http://llvm.org/viewvc/llvm-project?rev=220632&view=rev
Log:
[clang-tidy] Simplify RUN: lines in the test

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

Modified: clang-tools-extra/trunk/test/clang-tidy/basic.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/basic.cpp?rev=220632&r1=220631&r2=220632&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/basic.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/basic.cpp Sat Oct 25 21:18:06 2014
@@ -1,6 +1,4 @@
-// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
-// RUN: clang-tidy %t.cpp -checks='-*,llvm-namespace-comment' -- > %t2.cpp
-// RUN: FileCheck -input-file=%t2.cpp %s
+// RUN: clang-tidy %s -checks='-*,llvm-namespace-comment' -- | FileCheck %s
 
 namespace i {
 }





More information about the cfe-commits mailing list