[clang] [clang-format] Add new option: WrapNamespaceBodyWithNewlines (PR #106145)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 11:06:04 PDT 2024


================
@@ -5057,6 +5057,21 @@ struct FormatStyle {
   /// \version 11
   std::vector<std::string> WhitespaceSensitiveMacros;
 
+  /// Insert a newline at the begging and at the end of namespace definition
----------------
HazardyKnusperkeks wrote:

```suggestion
  /// Insert a newline at the begging and at the end of namespace definition.
```

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


More information about the cfe-commits mailing list