[cfe-commits] r154393 - in /cfe/trunk/test/Tooling: clang-check-pwd.cpp clang-check.cpp

Manuel Klimek klimek at google.com
Tue Apr 10 05:12:33 PDT 2012


Author: klimek
Date: Tue Apr 10 07:12:33 2012
New Revision: 154393

URL: http://llvm.org/viewvc/llvm-project?rev=154393&view=rev
Log:
Fix tautological FileCheck by moving the CHECK to an extra line.


Modified:
    cfe/trunk/test/Tooling/clang-check-pwd.cpp
    cfe/trunk/test/Tooling/clang-check.cpp

Modified: cfe/trunk/test/Tooling/clang-check-pwd.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Tooling/clang-check-pwd.cpp?rev=154393&r1=154392&r2=154393&view=diff
==============================================================================
--- cfe/trunk/test/Tooling/clang-check-pwd.cpp (original)
+++ cfe/trunk/test/Tooling/clang-check-pwd.cpp Tue Apr 10 07:12:33 2012
@@ -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.

Modified: cfe/trunk/test/Tooling/clang-check.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Tooling/clang-check.cpp?rev=154393&r1=154392&r2=154393&view=diff
==============================================================================
--- cfe/trunk/test/Tooling/clang-check.cpp (original)
+++ cfe/trunk/test/Tooling/clang-check.cpp Tue Apr 10 07:12:33 2012
@@ -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.





More information about the cfe-commits mailing list