Issue 92106
Summary [clang-format] Inconsistent whitespaces in nested namespaces
Labels clang-format
Assignees
Reporter ruslo
    Code:

```cpp
namespace n1   ::   n2::n3   ::   n4 {}
```

Will be formatted as:

```cpp
namespace n1 ::n2::n3 ::n4 {}
```

Expected formatting:

```cpp
namespace n1::n2::n3::n4 {}
```

Version:

```
> clang-format --version
clang-format version 17.0.6
```

Style:
```
Language: Cpp
BasedOnStyle: Google
InsertNewlineAtEOF: true
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to