[clang-tidy] Simplify RUN: lines in the test
authorAlexander Kornienko <alexfh@google.com>
Sun, 26 Oct 2014 02:18:06 +0000 (02:18 +0000)
committerAlexander Kornienko <alexfh@google.com>
Sun, 26 Oct 2014 02:18:06 +0000 (02:18 +0000)
llvm-svn: 220632

clang-tools-extra/test/clang-tidy/basic.cpp

index 4c9c57b..7af1430 100644 (file)
@@ -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 {
 }