clang-format: Correctly apply wrap before multi-line RHS rule to
authorDaniel Jasper <djasper@google.com>
Tue, 1 Mar 2016 04:19:59 +0000 (04:19 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 1 Mar 2016 04:19:59 +0000 (04:19 +0000)
commit04b4e10873f6728f382ce2e2aa71aa10831c101f
tree092404937dd77521cf00b9850f3d7a1c75a615ab
parentf9168de892634832f25c9dd91462ed8236782f81
clang-format: Correctly apply wrap before multi-line RHS rule to
ternary expressions.

Before:
  return aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ? aaaaa : bbbbbbbbbbbbbbb +
     cccccccccccccccc;

After:
  return aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ?
     aaaaa :
     bbbbbbbbbbbbbbb + cccccccccccccccc;

llvm-svn: 262293
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTest.cpp