]> granicus.if.org Git - clang/commit
clang-format: Less eagerly try to keep label-value pairs on a line.
authorDaniel Jasper <djasper@google.com>
Thu, 22 Dec 2016 12:37:06 +0000 (12:37 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 22 Dec 2016 12:37:06 +0000 (12:37 +0000)
commit9ae7d31164cea35354b602e996a1fb905ebfe159
tree883d9b481e6c48afaf05d67a1d393168a72069c7
parentedb9d32b8c8cfaaa0c1988dcb5db942c27d21688
clang-format: Less eagerly try to keep label-value pairs on a line.

Before:
  string v =
      StrCat("aaaaaaaaaaaaaaaaaaaaaaaaaaa: ", SomeFunction(aaaaaaaaaaaa,
                                                           aaaaaaaaaaaaaaa),
             bbbbbbbbbbbbbbbbbbbbbbb);

After:
  string v = StrCat("aaaaaaaaaaaaaaaaaaaaaaaaaaa: ",
                    SomeFunction(aaaaaaaaaaaaaaaaaaaaaaaaaaa),
                    bbbbbbbbbbbbbbbbbbbbbbb);

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