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

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 12 23:39:49 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.
----------------
owenca wrote:

You need to rerun `dump_format_style.py`.

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


More information about the cfe-commits mailing list