Clang-format: CompactNamespaces in combination with ColumnLimit: 0

Hello!

This is my first post, I hope that I found the right forum. If not, I apologize.

I have a question regarding the usage of clang-format. I’m trying to use CompactNamespaces: true in combination with ColumnLimit: 0. The result is that namespace declarations such as

namespace A {
namespace B {
}
}

is left as-is, and isn’t folded into

namespace A { namespace B {
}}

, unless I remove ColumnLimit: 0. This is surprising to me. I was wondering if this is expected behavior.

The minimal repro config for this, avoiding this other issue, is;

CompactNamespaces: true
BreakBeforeBraces: Custom
BraceWrapping:
  AfterNamespace: false
ColumnLimit: 0

This seems to be a bug.