aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2012-04-10 12:12:33 +0000
committerManuel Klimek <klimek@google.com>2012-04-10 12:12:33 +0000
commit970b22675d2b3c66ffa0d41a3d22ac37c352e4a5 (patch)
treefc938cae21a052e58411c9188c17869977305e84
parente58e6f9114e61f0e490b5dc1c4f20b23a30f12dc (diff)
Fix tautological FileCheck by moving the CHECK to an extra line.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154393 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Tooling/clang-check-pwd.cpp3
-rw-r--r--test/Tooling/clang-check.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Tooling/clang-check-pwd.cpp b/test/Tooling/clang-check-pwd.cpp
index 28910e3e39..75cee14c2e 100644
--- a/test/Tooling/clang-check-pwd.cpp
+++ b/test/Tooling/clang-check-pwd.cpp
@@ -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.
diff --git a/test/Tooling/clang-check.cpp b/test/Tooling/clang-check.cpp
index bd35348af9..de10e4a4fb 100644
--- a/test/Tooling/clang-check.cpp
+++ b/test/Tooling/clang-check.cpp
@@ -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.