Issue 56022
Summary clang-tidy: false positive from `modernize-concat-nested-namespaces` on inline namespaces
Labels
Assignees
Reporter vogelsgesang
    clang-tidy 14 incorrectly complains about the following input

```
namespace asmjit::inline _abi_1_9::x86 { // <-- it claims that the "x86" namespace could be concatenated, although it is already concatenated
class Assembler;
class Gpq;
}
```

When applying the proposed rewrite, the code is rewritten to

```
namespace asmjit::inline _abi_1_9namespace x86 {
class Assembler;
class Gpq;
}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to