]> granicus.if.org Git - clang/commit
clang-format: Respect IndentWrappedFunctionNames when aligning colons
authorDaniel Jasper <djasper@google.com>
Thu, 16 Jul 2015 22:58:24 +0000 (22:58 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 16 Jul 2015 22:58:24 +0000 (22:58 +0000)
commit6159c0fbd1876c7f5f984b4830c664cc78f16e2e
tree5484b85450fa973fb3d601bbfb4fc9c57101b07a
parent915c15b03ac1bacb505e681d7f962b59f71d0cf2
clang-format: Respect IndentWrappedFunctionNames when aligning colons

Before:
  - (void)shortf:(GTMFoo *)theFoo
  dontAlignNamef:(NSRect)theRect {
  }

After:
  - (void)shortf:(GTMFoo *)theFoo
      dontAlignNamef:(NSRect)theRect {
  }

Patch by Kwasi Mensah, thank you!

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