================ @@ -1585,6 +1611,8 @@ struct FormatStyle { /// \endcode /// bool SplitEmptyNamespace; + /// Wrap empty record (``class``/``struct``/``union``). + BraceWrapEmptyRecordStyle WrapEmptyRecord; ---------------- HazardyKnusperkeks wrote:
If you deprecate it and replace it with a new option (the old one still needs to be parsed), or just change the `bool` to an `enum` is up to you. But either way it is possible to not break anybody (except users of `libFormat`, but they are used to that...). 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