]> granicus.if.org Git - clang/commit
Add option to allow putting all parameters onto the next line.
authorDaniel Jasper <djasper@google.com>
Wed, 23 Jan 2013 10:08:28 +0000 (10:08 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 23 Jan 2013 10:08:28 +0000 (10:08 +0000)
commit8f4bd7a20f89d9065bebadd270e6bc7822257d37
treef3bb9ff0fda17bf12c0dd8a987b337740fdbb316
parent70b03f4edaefcc5b9aa2e084d1c12e9d91b32a77
Add option to allow putting all parameters onto the next line.

This only affects styles where BinPackParameters is false.

With AllowAllParametersOnNextLine:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);

Without it:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaa,
                                         aaaaaaaaaa,
                                         aaaaaaaaaa,
                                         aaaaaaaaaaa,
                                         aaaaaaaaaaa);

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