aboutsummaryrefslogtreecommitdiff
path: root/test/Index/comment-cplus-decls.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-10 13:24:24 +0000
committerManuel Klimek <klimek@google.com>2013-01-10 13:24:24 +0000
commit36fab8d70eee342d66e03c9b09c029f126196103 (patch)
tree9a24e011325a032e70cce92707687997af9c147f /test/Index/comment-cplus-decls.cpp
parent46ef852618b18bc79e403b37a12c9b692e76126b (diff)
Do not add newline in empty blocks.
void f() {} now gets formatted in one line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/comment-cplus-decls.cpp')
-rw-r--r--test/Index/comment-cplus-decls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/comment-cplus-decls.cpp b/test/Index/comment-cplus-decls.cpp
index 2fa688c3d7..de1c2c5226 100644
--- a/test/Index/comment-cplus-decls.cpp
+++ b/test/Index/comment-cplus-decls.cpp
@@ -39,7 +39,7 @@ protected:
*/
data* reserved;
};
-// CHECK: <Declaration>class Test {\n}</Declaration>
+// CHECK: <Declaration>class Test {}</Declaration>
// CHECK: <Declaration>Test() : reserved(new Test::data())</Declaration>
// CHECK: <Declaration>unsigned int getID() const</Declaration>
// CHECK: <Declaration>void ~Test()</Declaration>