r220376 - clang-format: Fix tests after recent change to ObjC block formatting.

Daniel Jasper djasper at google.com
Wed Oct 22 02:50:24 PDT 2014


Author: djasper
Date: Wed Oct 22 04:50:23 2014
New Revision: 220376

URL: http://llvm.org/viewvc/llvm-project?rev=220376&view=rev
Log:
clang-format: Fix tests after recent change to ObjC block formatting.

Modified:
    cfe/trunk/test/Index/comment-c-decls.c
    cfe/trunk/test/Index/format-comment-cdecls.c

Modified: cfe/trunk/test/Index/comment-c-decls.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/comment-c-decls.c?rev=220376&r1=220375&r2=220376&view=diff
==============================================================================
--- cfe/trunk/test/Index/comment-c-decls.c (original)
+++ cfe/trunk/test/Index/comment-c-decls.c Wed Oct 22 04:50:23 2014
@@ -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: <Declaration>int (^Block1)(int, int) = ^(int i, int j) {}</Declaration>
+// CHECK: <Declaration>int (^Block1)(int, int) = ^(int i, int j) {\n}</Declaration>

Modified: cfe/trunk/test/Index/format-comment-cdecls.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/format-comment-cdecls.c?rev=220376&r1=220375&r2=220376&view=diff
==============================================================================
--- cfe/trunk/test/Index/format-comment-cdecls.c (original)
+++ cfe/trunk/test/Index/format-comment-cdecls.c Wed Oct 22 04:50:23 2014
@@ -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: <Declaration>int (^Block1)(int, int) = ^(int i, int j) {}</Declaration>
+// CHECK: <Declaration>int (^Block1)(int, int) = ^(int i, int j) {\n}</Declaration>





More information about the cfe-commits mailing list