]> granicus.if.org Git - clang/commit
clang-format: Properly reset BreakBeforeParameter when wrapping
authorDaniel Jasper <djasper@google.com>
Wed, 3 Jun 2015 09:26:03 +0000 (09:26 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 3 Jun 2015 09:26:03 +0000 (09:26 +0000)
commit7e690f7c5c154bd291030480c55664fe84ca3023
tree4f3da27ac2161a4ade7022715ef3fd0292581189
parent0985ccfcae3cd98652ee4a81522fc7104466f3cb
clang-format: Properly reset BreakBeforeParameter when wrapping
operators to the new line.

Before:
  LOG_IF(aaa == //
         bbb)
      << a
      << b;

After:
  LOG_IF(aaa == //
         bbb)
      << a << b;

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