[PATCH] D40988: Clang-format: add finer-grained options for putting all arguments on one line
Russell McClellan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 7 12:50:44 PST 2018
russellmcc updated this revision to Diff 133280.
russellmcc added a comment.
Responded to review feedback:
- Fix bug where `AllowAllArgumentsOnNextLine` overrode `AllowAllParametersOfDeclarationOnNextLine`
- Add tests demonstrating independence of `AllowAllArgumentsOnNextLine` and `AllowAllParametersOfDeclarationOnNextLine`
- Add test showing `AllowAllConstructorInitializersOnNextLine` doesn't affect single-line constructors
- Removed unnecessary re-setting of llvm styles
- Removed bonus line from test
https://reviews.llvm.org/D40988
Files:
include/clang/Format/Format.h
lib/Format/ContinuationIndenter.cpp
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40988.133280.patch
Type: text/x-patch
Size: 8452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180207/00f589be/attachment-0001.bin>
More information about the cfe-commits
mailing list