]> granicus.if.org Git - clang/commit
clang-format: Properly indent ObjC calls wrapped before first selector
authorDaniel Jasper <djasper@google.com>
Fri, 8 Nov 2013 02:08:01 +0000 (02:08 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 8 Nov 2013 02:08:01 +0000 (02:08 +0000)
commit072ac6cfde19fb395d434b2bbcb66e210607cf1e
tree90a093d06328428ea4c2090e30455c14faa9f2c0
parente9a5b3871f3d58fa226910fd8123c98fc8bc6c67
clang-format: Properly indent ObjC calls wrapped before first selector

Before:
  [self // break
      a:a
     aa:aa
  aaaaa:aaa];

After:
  [self // break
          a:a
         aa:aa
      aaaaa:aaa];

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