================ @@ -1585,6 +1611,8 @@ struct FormatStyle { /// \endcode /// bool SplitEmptyNamespace; + /// Wrap empty record (``class``/``struct``/``union``). + BraceWrapEmptyRecordStyle WrapEmptyRecord; ---------------- itzexpoexpo wrote:
I agree the options are related closely enough to warrant it. But I'm unsure about breaking existing behavior, would this mean deprecating SplitEmptyRecord and having something like WrapAndSplitEmptyRecord instead? https://github.com/llvm/llvm-project/pull/151970 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits