[clang] [clang-format] Add BraceWrapping.AfterExportBlock option (PR #216892)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 19 03:55:10 PDT 2026


================
@@ -1549,15 +1558,7 @@ struct FormatStyle {
     ///   }
     /// \endcode
     bool AfterExternBlock; // Partially superseded by IndentExternBlock
-    /// Wrap export blocks.
-    /// \code
-    ///   true:                            false:
-    ///   export                           export {
-    ///   {                                  int foo();
-    ///     int foo();                     }
-    ///   }
-    /// \endcode
-    bool AfterExportBlock;
+
----------------
HazardyKnusperkeks wrote:

Drop the blank line.

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


More information about the cfe-commits mailing list