[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


================
@@ -94,7 +94,8 @@ struct FormatStyle {
     ///
     /// \note
     ///  This currently only applies to braced initializer lists (when
-    ///  ``Cpp11BracedListStyle`` is ``true``) and parentheses.
+    ///  ``Cpp11BracedListStyle`` is ``AlignFirstComment`` or ``FunctionCall``)
+    ///  and parentheses.
----------------
owenca wrote:

```suggestion
    ///  ``Cpp11BracedListStyle`` is not ``Block``) and parentheses.
```

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


More information about the cfe-commits mailing list