]> granicus.if.org Git - clang/commit
clang-format: Improve formatting of constructor initializers.
authorDaniel Jasper <djasper@google.com>
Thu, 7 Nov 2013 17:52:51 +0000 (17:52 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 7 Nov 2013 17:52:51 +0000 (17:52 +0000)
commitdbfb5f37f4d003ae6935b87a103b7827d5069690
treecdc2ca6c3745390de556e5984bc34c2ec2fc85b6
parent59875ac81b97de87ac6c4c7cb256ab71b75114f2
clang-format: Improve formatting of constructor initializers.

Before:
  Constructor()
      : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaa(aaaa,
                                                                      aaaa)) {}
After:
  Constructor()
      : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
            aaaaaaaaaaaaaaaaaaaaaaaaa(aaaa, aaaa)) {}

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