diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-29 16:03:49 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-29 16:03:49 +0000 |
commit | f1579605adf03f94a2ddddc95c764737ead0efe5 (patch) | |
tree | c1c423cba1236b2e830d8b31e4a6958fa707bba6 /include/clang/Format/Format.h | |
parent | f40fb4beaa22b4e53cd8b5319836b361ebfa6c62 (diff) |
Allow all parameters on next line for function calls in Chrome.
The style guide only forbids this for function declarations. So,
now
someFunction(
aaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa, aaaaaaaaaaaa);
Is allowed in Chromium mode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Format/Format.h')
-rw-r--r-- | include/clang/Format/Format.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Format/Format.h b/include/clang/Format/Format.h index b21bfd2524..d34a04306e 100644 --- a/include/clang/Format/Format.h +++ b/include/clang/Format/Format.h @@ -61,9 +61,9 @@ struct FormatStyle { /// will either all be on the same line or will have one line each. bool BinPackParameters; - /// \brief Allow putting all parameters of a function declaration/call onto - /// the next line without calling this bin-packing. - bool AllowAllParametersOnNextLine; + /// \brief Allow putting all parameters of a function declaration onto + /// the next line even if \c BinPackParameters is \c false. + bool AllowAllParametersOfDeclarationOnNextLine; /// \brief Allow putting the return type of a function onto its own line. bool AllowReturnTypeOnItsOwnLine; |