summaryrefslogtreecommitdiffstats
path: root/clang/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
commite7d10a1f5058fab3b0cca5453dfb4838922edd37 (patch)
tree6278cff69b1f77472f1b135163918deb6770395c /clang/test/Index/comment-cplus-decls.cpp
parent494394d817b89050619c50bc58b282813e7a63bc (diff)
downloadbcm5719-llvm-e7d10a1f5058fab3b0cca5453dfb4838922edd37.tar.gz
bcm5719-llvm-e7d10a1f5058fab3b0cca5453dfb4838922edd37.zip
Do not add newline in empty blocks.
void f() {} now gets formatted in one line. llvm-svn: 172067
Diffstat (limited to 'clang/test/Index/comment-cplus-decls.cpp')
-rw-r--r--clang/test/Index/comment-cplus-decls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/comment-cplus-decls.cpp b/clang/test/Index/comment-cplus-decls.cpp
index 2fa688c3d79..de1c2c52262 100644
--- a/clang/test/Index/comment-cplus-decls.cpp
+++ b/clang/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>
OpenPOWER on IntegriCloud