[clang] [clang-format] Support BraceWrapping.AfterNamespace with AllowShortNamespacesOnASingleLine (PR #123010)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 19:29:50 PST 2025
================
@@ -688,8 +701,8 @@ class LineJoiner {
if (L2.First->isNot(tok::r_brace) || L2.First->MustBreakBefore)
----------------
owenca wrote:
```suggestion
if (L2.First->isNot(TT_NamespaceRBrace) || L2.First->MustBreakBefore)
```
https://github.com/llvm/llvm-project/pull/123010
More information about the cfe-commits
mailing list