From e7d10a1f5058fab3b0cca5453dfb4838922edd37 Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Thu, 10 Jan 2013 13:24:24 +0000 Subject: Do not add newline in empty blocks. void f() {} now gets formatted in one line. llvm-svn: 172067 --- clang/test/Index/comment-cplus-decls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Index/comment-cplus-decls.cpp') 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: class Test {\n} +// CHECK: class Test {} // CHECK: Test() : reserved(new Test::data()) // CHECK: unsigned int getID() const // CHECK: void ~Test() -- cgit v1.2.3