diff options
author | Francois Ferrand <thetypz@gmail.com> | 2017-05-24 11:36:58 +0000 |
---|---|---|
committer | Francois Ferrand <thetypz@gmail.com> | 2017-05-24 11:36:58 +0000 |
commit | a6b6d51ba471a2f645e63bee46e896e7f350b0b5 (patch) | |
tree | da34059707447fce824162c3c40f54839d24a9ab /lldb/packages/Python/lldbsuite/test | |
parent | e3852fa4052cef4715acebcffe2e18e2ff8b76b8 (diff) | |
download | bcm5719-llvm-a6b6d51ba471a2f645e63bee46e896e7f350b0b5.tar.gz bcm5719-llvm-a6b6d51ba471a2f645e63bee46e896e7f350b0b5.zip |
clang-format: Introduce BreakConstructorInitializers option
Summary:
This option replaces the BreakConstructorInitializersBeforeComma option with an enum, thus introducing a mode where the colon stays on the same line as constructor declaration:
// When it fits on line:
Constructor() : initializer1(), initializer2() {}
// When it does not fit:
Constructor() :
initializer1(), initializer2()
{}
// When ConstructorInitializerAllOnOneLineOrOnePerLine = true:
Constructor() :
initializer1(),
initializer2()
{}
Reviewers: krasimir, djasper
Reviewed By: djasper
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D32479
llvm-svn: 303739
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions