]> granicus.if.org Git - clang/commit
clang-format: Don't force line breaks in ObjC calls with ColumnLimit 0.
authorDaniel Jasper <djasper@google.com>
Mon, 19 May 2014 08:06:34 +0000 (08:06 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 19 May 2014 08:06:34 +0000 (08:06 +0000)
commit2e43cf487dd65cb7b4bdd930608a6725ba76d633
treee5690077224e3c81ec59aab3cdd1e9d0398408a2
parentd59cba57e2ac44ae7cbe74df0daaa5b0b55f6321
clang-format: Don't force line breaks in ObjC calls with ColumnLimit 0.

Before:
  [self.x a:b c:d];

Got reformatted toi (with ColumnLimit set to 0):
  [self.x a:b
          c:d];

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