diff options
author | Daniel Jasper <djasper@google.com> | 2015-05-10 07:47:19 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-05-10 07:47:19 +0000 |
commit | 622c72ded5df46eb6a705cb6fbfc0e680294a590 (patch) | |
tree | 4cc0d55f016fbd76f9d05eceacd5cd3bfeb337d4 /clang/test/Format/cursor.cpp | |
parent | ee33c49ade47ea24f0d26d86456632a664efe069 (diff) | |
download | bcm5719-llvm-622c72ded5df46eb6a705cb6fbfc0e680294a590.tar.gz bcm5719-llvm-622c72ded5df46eb6a705cb6fbfc0e680294a590.zip |
Reapply r236854 and fixed r236867.
Makes emacs show a different message when clang-format encountered a
syntax error.
llvm-svn: 236943
Diffstat (limited to 'clang/test/Format/cursor.cpp')
-rw-r--r-- | clang/test/Format/cursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Format/cursor.cpp b/clang/test/Format/cursor.cpp index d9aab5acb63..c7d576ba6e6 100644 --- a/clang/test/Format/cursor.cpp +++ b/clang/test/Format/cursor.cpp @@ -1,6 +1,6 @@ // RUN: grep -Ev "// *[A-Z-]+:" %s > %t2.cpp // RUN: clang-format -style=LLVM %t2.cpp -cursor=6 > %t.cpp // RUN: FileCheck -strict-whitespace -input-file=%t.cpp %s -// CHECK: {{^\{ "Cursor": 4 \}$}} +// CHECK: {{^\{ "Cursor": 4, }} // CHECK: {{^int\ \i;$}} int i; |