[clang] [clang-format] Add option to omit wrapping for empty records (PR #151970)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 11 06:41:42 PDT 2025
================
@@ -1585,6 +1611,8 @@ struct FormatStyle {
/// \endcode
///
bool SplitEmptyNamespace;
+ /// Wrap empty record (``class``/``struct``/``union``).
+ BraceWrapEmptyRecordStyle WrapEmptyRecord;
----------------
HazardyKnusperkeks wrote:
How about to merge this with `SplitEmptyRecord`?
https://github.com/llvm/llvm-project/pull/151970
More information about the cfe-commits
mailing list