[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:40 PDT 2025


================
@@ -2579,6 +2579,36 @@ the configuration (without a prefix: ``Auto``).
       {}                   {
                            }
 
+  * ``BraceWrapEmptyRecordStyle WrapEmptyRecord``
----------------
HazardyKnusperkeks wrote:

Please run `clang/docs/tools/dump_format_style.py` to generate this.

https://github.com/llvm/llvm-project/pull/151970


More information about the cfe-commits mailing list