urnathan wrote:

> But that would be the way to go, add an option to the enum, don't change the 
> existing behavior.

Sure -- I thought I'd shoot for the simplest change first :)

Here's an update that adds `OwnLineWithBrace`, which is like `OwnLine` except 
it also allows a trailing `{` (and anything that would then enable).  I 
describe the formatting in terms of the syntax (`{`) rather than semantics 
(function definition), to future proof it, should perhaps requires clauses be 
permitted at other brace-preceding locations. 

https://github.com/llvm/llvm-project/pull/102078
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to