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

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 29 18:16:46 PST 2024


================
@@ -4484,7 +4484,7 @@ TEST_F(FormatTest, FormatsCompactNamespaces) {
                "} // namespace A",
                Style);
 
-  Style.ColumnLimit = 40;
+  Style.ColumnLimit = 41;
----------------
owenca wrote:

```suggestion
  Style.ColumnLimit = 40;
```
See below.

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


More information about the cfe-commits mailing list