]> granicus.if.org Git - clang/commit
clang-format: Improve formatting of ObjC Blocks with return type.
authorDaniel Jasper <djasper@google.com>
Thu, 16 Jan 2014 19:14:34 +0000 (19:14 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 16 Jan 2014 19:14:34 +0000 (19:14 +0000)
commitb889277f5fa21ad0d64b4aae0012779715446fb3
tree341545d586c137cebff644b6615815f86e74bd47
parent619ef7e20cf8a88cfe498135d81bfe58672d59a1
clang-format: Improve formatting of ObjC Blocks with return type.

Before:
  int a = [operation block:^int(int * i) { return 1; }];

After:
  int a = [operation block:^int(int *i) { return 1; }];

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199411 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTest.cpp