diff options
author | Manuel Klimek <klimek@google.com> | 2013-01-10 13:24:24 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-01-10 13:24:24 +0000 |
commit | e7d10a1f5058fab3b0cca5453dfb4838922edd37 (patch) | |
tree | 6278cff69b1f77472f1b135163918deb6770395c /clang/test/Index/comment-cplus-decls.cpp | |
parent | 494394d817b89050619c50bc58b282813e7a63bc (diff) | |
download | bcm5719-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.cpp | 2 |
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> |