]> granicus.if.org Git - clang/commit
clang-format: [ObjC] Wrap ObjC method declarations before annotations.
authorDaniel Jasper <djasper@google.com>
Sat, 11 Oct 2014 08:24:56 +0000 (08:24 +0000)
committerDaniel Jasper <djasper@google.com>
Sat, 11 Oct 2014 08:24:56 +0000 (08:24 +0000)
commit3fa42e8f26195c62e1e7953b2ffee0aaa57cad51
tree4ef79339325cd7c9b3b3a41d669d599501d6a87d
parentd52c445118349a7745a8f5679ff7abb67a164f40
clang-format: [ObjC] Wrap ObjC method declarations before annotations.

Before:
  - (instancetype)initXxxxxxxxxxxxxxxxxxxxxxxxx:(id<x>)x
                                              y:(id<yyyyyyyyyyyyyyyyyyyy>)
                                                    y NS_DESIGNATED_INITIALIZER;
After:
  - (instancetype)initXxxxxxxxxxxxxxxxxxxxxxxxx:(id<x>)x
                                              y:(id<yyyyyyyyyyyyyyyyyyyy>)y
      NS_DESIGNATED_INITIALIZER;

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