Issue 83452
Summary [bug] clang-tidy `modernize-concat-nested-namespaces` and macros
Labels clang-tidy
Assignees
Reporter r-barnes
    When using `modernize-concat-nested-namespaces` in clang-tidy this:

```
namespace MY_NAMESPACE_MACRO {
namespace nested {

} // nested 
} // MY_NAMESPACE_MACRO
```
gets rewritten as
```
namespace my_namespace::nested {

} // my_namespace::nested 
```
but the appropriate rewrite is
```
namespace MY_NAMESPACE_MACRO::nested {

} // MY_NAMESPACE_MACRO::nested 
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to