zwuis wrote:
Please add more tests. E.g.
- Hidden in inner scope.
```cpp
struct S {};
namespace NS1 {
int S;
namespace NS2 {
using T = struct S;
}
}
```
- Involving using declarations.
```cpp
namespace NS {
struct S {};
}
using NS::S;
using T = struct S;
// `S` is not 'hidden' in this example.
// Just to tell using declarations should be considered.
```
https://github.com/llvm/llvm-project/pull/210007
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits