]> granicus.if.org Git - clang/commit
clang-format: Don't wrap after @interface.
authorDaniel Jasper <djasper@google.com>
Mon, 28 Apr 2014 07:34:48 +0000 (07:34 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 28 Apr 2014 07:34:48 +0000 (07:34 +0000)
commit4145db1ccb327a39726edbbb1069d5585aec4d65
tree54b09eb61877065ed198a92dffe5e3e1c3061838
parentd53fa2e0646e4f1182d4fa47f9934756ba2d8b73
clang-format: Don't wrap after @interface.

This fixes llvm.org/PR19450.

Before:
  @interface
  BookmarkHomeHandsetViewController ()<BookmarkAllCollectionViewDelegate,
                                       BookmarkFolderCollectionViewDelegate,
                                       BookmarkMenuViewControllerDelegate,
                                       BookmarkSearchViewControllerDelegate> {
  }

After:
  @interface aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ()<
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa> {
  }

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