[clang] clang-format: Add "AllowShortNamespacesOnASingleLine" option (PR #105597)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 5 00:05:59 PDT 2024


================
@@ -972,6 +972,11 @@ struct FormatStyle {
   /// \version 3.7
   bool AllowShortLoopsOnASingleLine;
 
+  /// If ``true``, ``namespace a { class b; }`` can be put on a single a single
+  /// line.
+  /// \version 19
----------------
mydeveloperday wrote:

19 is now wrong it should be 20

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


More information about the cfe-commits mailing list