Clang-format: add finer-grained options for putting all arguments on one line.
Russell McClellan via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 4 07:40:37 PST 2017
Another bump on this
On Tue, Nov 28, 2017 at 10:43 AM, Russell McClellan
<russell.mcclellan at gmail.com> wrote:
> Another bump on this - again, this is my first time trying to submit a
> patch, so please let me know if there's a better way to go about this.
>
> On Mon, Nov 20, 2017 at 10:22 AM, Russell McClellan
> <russell.mcclellan at gmail.com> wrote:
>> Hi -
>>
>> Just pinging this after a week; let me know if there's a better way to
>> submit patches, I'm a first time contributor.
>>
>> On Mon, Nov 13, 2017 at 6:55 PM, Russell McClellan
>> <russell.mcclellan at gmail.com> wrote:
>>> Attached is a patch that adds two new options,
>>> AllowAllArgumentsOnNextLine and
>>> AllowAllConstructorInitializersOnNextLine. These mirror the existing
>>> AllowAllParametersOfDeclarationOnNextLine and allow me to support an
>>> internal style guide where I work. I think this would be generally
>>> useful, some have asked for it on stackoverflow:
>>>
>>> https://stackoverflow.com/questions/30057534/clang-format-binpackarguments-not-working-as-expected
>>>
>>> https://stackoverflow.com/questions/38635106/clang-format-how-to-prevent-all-function-arguments-on-next-line
>>>
>>> Thanks for your consideration, and let me know if there's anything I
>>> can do to improve the patch; I'm a first-time contributor.
>>>
>>> Thanks,
>>> -Russell
More information about the cfe-commits
mailing list