]> granicus.if.org Git - clang/commit
Do not force linebreaks when MaxEmptyLinesToKeep is 0.
authorManuel Klimek <klimek@google.com>
Tue, 28 Jul 2015 15:50:24 +0000 (15:50 +0000)
committerManuel Klimek <klimek@google.com>
Tue, 28 Jul 2015 15:50:24 +0000 (15:50 +0000)
commitc5f562c2a448e0b757adc6b752614496f06c8e34
tree1bd4b71788ff864717d2bb0ee03069db5cbb2c46
parentad75c6f1c1cdf453743779b9338c6f8f648ec256
Do not force linebreaks when MaxEmptyLinesToKeep is 0.

Previously we would format
 call(

     p);
as
 call(
     p);
with MaxEmptyLinesToKeep == 0.

Now we format it as:
  call(p);

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