From c13ee34378f14733692c2714d02549563fa16431 Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Thu, 27 Mar 2014 09:43:54 +0000 Subject: clang-format: Correctly identify ObjC Block with return type. llvm-svn: 204905 --- clang/unittests/Format/FormatTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/unittests/Format/FormatTest.cpp') diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 3da478c0923..fa8ed3828d4 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -8167,6 +8167,10 @@ TEST_F(FormatTest, FormatsBlocks) { " secondBlock:^(Bar *b) {\n" " // ...\n" " int i;\n" + " }\n" + " thirdBlock:^Foo(Bar *b) {\n" + " // ...\n" + " int i;\n" " }];"); verifyFormat("f(^{\n" -- cgit v1.2.3