owenca wrote:

> > Maybe we should make it a sub-option for `BlockIndent`. I'm seeing a 
> > possible need for having control over other kinds of block indented 
> > structures such as Lambdas. I suspect the way this option has been 
> > implemented it interacts with the alignment options anyway. This would be a 
> > question probably for @owenca
> 
> I thought about it some more and I don't think it would be a good idea. 
> Having a separate option seems a bit easier to handle, and allows mixing and 
> matching by users.

I think this should be covered by 
[`BlockIndent`](https://clang.llvm.org/docs/ClangFormatStyleOptions.html#alignafteropenbracket),
 which already covers both parentheses and braces. Let's hear what 
@mydeveloperday has to say.

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

Reply via email to