summaryrefslogtreecommitdiffstats
path: root/clang/test/Format/incomplete.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-05-08 21:34:09 +0000
committerTobias Grosser <tobias@grosser.es>2015-05-08 21:34:09 +0000
commita7046002959f3e1fad47b028b51756084934934c (patch)
tree391899f1e1a24ff547c936e5aa10d8f1e5bbf314 /clang/test/Format/incomplete.cpp
parent8fd66a71c432d90e07fb15cc27955a1fb270abb7 (diff)
downloadbcm5719-llvm-a7046002959f3e1fad47b028b51756084934934c.tar.gz
bcm5719-llvm-a7046002959f3e1fad47b028b51756084934934c.zip
Revert "Make emacs show when clang-format encountered a syntax error."
This reverts commit 236854, which caused clang-format to always print '{ "IncompleteFormat": false }' at the top of an incompletely formatted file. This output causes problems e.g. in Polly's automatic formatting checks. Daniel tried to fix this in 236867, but this fix had to be reverted due to buildbot failures. I revert this change as well for now as it is Friday night and unlikely to be fixed immediately. llvm-svn: 236908
Diffstat (limited to 'clang/test/Format/incomplete.cpp')
-rw-r--r--clang/test/Format/incomplete.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/test/Format/incomplete.cpp b/clang/test/Format/incomplete.cpp
deleted file mode 100644
index ade38b66a39..00000000000
--- a/clang/test/Format/incomplete.cpp
+++ /dev/null
@@ -1,8 +0,0 @@
-// RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp
-// RUN: clang-format -style=LLVM %t2.cpp > %t.cpp
-// RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s
-// CHECK: {{^\{ "IncompleteFormat": true }}
-// CHECK: {{^int\ \i;$}}
- int i;
-// CHECK: {{^f \( g \(;$}}
-f ( g (;
OpenPOWER on IntegriCloud