[clang] [clang-format] Option to insert spaces before the closing `*/` (PR #162105)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 24 23:19:59 PDT 2025


================
@@ -6612,6 +6612,38 @@ the configuration (without a prefix: ``Auto``).
      int a [5];                    vs.      int a[5];
      int a [5][5];                 vs.      int a[5][5];
 
+.. _SpaceInComments:
+
+**SpaceInComments** (``Struct``) :versionbadge:`clang-format 21` :ref:`¶ <SpaceInComments>`
----------------
HazardyKnusperkeks wrote:

This is not handwritten, but generated by `clang/doc/tools/dump_format_style.py`, you need to make your documentation in `Format.h`.

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


More information about the cfe-commits mailing list