summaryrefslogtreecommitdiff
path: root/test/Format
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2015-05-08 17:05:24 +0000
committerRenato Golin <renato.golin@linaro.org>2015-05-08 17:05:24 +0000
commita8ea585c7be49956cf28c1829414192ed43e9eda (patch)
tree0f9de4038a7c9b6c905e6695f823fca5c2709bd3 /test/Format
parentb3458674c25e62ac911be7e75eaf9f26fae39051 (diff)
Revert "clang-format: Only output IncompleteFormat if -cursor is given."
This reverts commit r236867, as it was breaking multiple buildbots. Daniel will look into it later. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Format')
-rw-r--r--test/Format/incomplete.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Format/incomplete.cpp b/test/Format/incomplete.cpp
index b66d5f816e..ade38b66a3 100644
--- a/test/Format/incomplete.cpp
+++ b/test/Format/incomplete.cpp
@@ -1,7 +1,7 @@
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp
// RUN: clang-format -style=LLVM %t2.cpp > %t.cpp
-// RUN: FileCheck -strict-whitespace -cursor=0 -input-file=%t.cpp %s
-// CHECK: {{"IncompleteFormat": true}}
+// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
+// CHECK: {{^\{ "IncompleteFormat": true }}
// CHECK: {{^int\ \i;$}}
int i;
// CHECK: {{^f \( g \(;$}}