owenca wrote: > See [#93635 > (comment)](https://github.com/llvm/llvm-project/issues/93635#issuecomment-2138778128).
@khei4 maybe an `enum` for `SpaceInEmptyBraces` with `Always`, `Never`, and `Custom`. (IMO `Leave` doesn't make sense.) With `Custom`, a list of boolean suboptions e.g. `Function`, `List`, etc. can be set individually. We have the following brace types now: ``` BlockLBrace BracedListLBrace ClassLBrace ControlStatementLBrace ElseLBrace EnumLBrace FunctionLBrace InlineASMBrace LambdaLBrace NamespaceLBrace ObjCBlockLBrace RecordLBrace RequiresExpressionLBrace StructLBrace SwitchExpressionLBrace UnionLBrace ``` I would implement all that make sense or are applicable to WebKit. https://github.com/llvm/llvm-project/pull/93634 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits