clang-format: [ObjC] Further improve wrapping of methods calls without inputs.
authorDaniel Jasper <djasper@google.com>
Wed, 13 May 2015 10:23:03 +0000 (10:23 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 13 May 2015 10:23:03 +0000 (10:23 +0000)
commita7b142603da5ae63232b727bb20b997cadbaf4bb
tree20611f7465b68cb6dcf803987d68c494bc0095f0
parentd130fd17f15bbdeb57003db99abff59aa5795617
clang-format: [ObjC] Further improve wrapping of methods calls without inputs.

Before:
  [aaaaaaaaaaaaaaaaaaaaaaa
      .aaaaaaaa[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa];

After:
  [aaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaa[aaaaaaaaaaaaaaaaaaaaa]
      aaaaaaaaaaaaaaaaaaaaaa];

llvm-svn: 237244
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp