From: Daniel Jasper Date: Wed, 22 Oct 2014 09:50:23 +0000 (+0000) Subject: clang-format: Fix tests after recent change to ObjC block formatting. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c252ed75cab6ba3e4757c24718dd267ea1591ad;p=clang clang-format: Fix tests after recent change to ObjC block formatting. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220376 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/comment-c-decls.c b/test/Index/comment-c-decls.c index 371e453bef..2a99b36ea8 100644 --- a/test/Index/comment-c-decls.c +++ b/test/Index/comment-c-decls.c @@ -101,4 +101,4 @@ int (^Block) (int i, int j); *\brief block declaration */ int (^Block1) (int i, int j) = ^(int i, int j) { return i + j; }; -// CHECK: int (^Block1)(int, int) = ^(int i, int j) {} +// CHECK: int (^Block1)(int, int) = ^(int i, int j) {\n} diff --git a/test/Index/format-comment-cdecls.c b/test/Index/format-comment-cdecls.c index 471be2baf2..34cedfdb16 100644 --- a/test/Index/format-comment-cdecls.c +++ b/test/Index/format-comment-cdecls.c @@ -96,4 +96,4 @@ int (^Block) (int i, int j); *\brief block declaration */ int (^Block1) (int i, int j) = ^(int i, int j) { return i + j; }; -// CHECK: int (^Block1)(int, int) = ^(int i, int j) {} +// CHECK: int (^Block1)(int, int) = ^(int i, int j) {\n}