You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "[clang] Build UsingType for elaborated type specifiers."
This reverts commit e70ca7b and the
followup patch "[clang] Fix the location of UsingTypeLoc"
(ebbeb16).
The patch causes an incorrect lookup result:
```
namespace ns { struct Foo { };}
using ns::Foo;
void test() {
struct Foo {
} k; // the type of k refers to ns::Foo, rather than the local Foo!
}
```
(cherry picked from commit e400c63)
0 commit comments