[clang] [clang-format] Remove special handling of comments after brace/paren (PR #71672)

via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 18 14:18:40 PDT 2025


================
@@ -4933,7 +4972,8 @@ struct FormatStyle {
   /// Specifies when to insert a space in empty braces.
   /// \note
   ///  This option doesn't apply to initializer braces if
-  ///  ``Cpp11BracedListStyle`` is set to ``true``.
+  ///  ``Cpp11BracedListStyle`` is set to ``AlignFirstComment`` or
+  ///  ``FunctionCall``.
----------------
owenca wrote:

```suggestion
  ///  ``Cpp11BracedListStyle`` is not ``Block``.
```

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


More information about the cfe-commits mailing list