]> granicus.if.org Git - clang/commitdiff
Fix tautological FileCheck by moving the CHECK to an extra line.
authorManuel Klimek <klimek@google.com>
Tue, 10 Apr 2012 12:12:33 +0000 (12:12 +0000)
committerManuel Klimek <klimek@google.com>
Tue, 10 Apr 2012 12:12:33 +0000 (12:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154393 91177308-0d34-0410-b5e6-96231b3b80d8

test/Tooling/clang-check-pwd.cpp
test/Tooling/clang-check.cpp

index 28910e3e39c4f51ad4bafcf1285bc2425a95c49f..75cee14c2ed969cd616a0f38b02d6d86de0af55c 100644 (file)
@@ -5,7 +5,8 @@
 // RUN: PWD="%t" clang-check "%t" "test.cpp" 2>&1|FileCheck %s
 // FIXME: Make the above easier.
 
-invalid; // CHECK: C++ requires
+// CHECK: C++ requires
+invalid;
 
 // FIXME: JSON doesn't like path separator '\', on Win32 hosts.
 // FIXME: clang-check doesn't like gcc driver on cygming.
index bd35348af997a96c9a66efa139db9cf62520e91b..de10e4a4fb9f160194b77afe6ef510f9720f5e63 100644 (file)
@@ -5,7 +5,8 @@
 // RUN: clang-check "%t" "%t/test.cpp" 2>&1|FileCheck %s
 // FIXME: Make the above easier.
 
-invalid; // CHECK: C++ requires
+// CHECK: C++ requires
+invalid;
 
 // FIXME: JSON doesn't like path separator '\', on Win32 hosts.
 // FIXME: clang-check doesn't like gcc driver on cygming.