Skip to content
Commit e400c63c authored by Haojian Wu's avatar Haojian Wu
Browse files

Revert "[clang] Build UsingType for elaborated type specifiers."

This reverts commit e70ca7b3 and the
followup patch "[clang] Fix the location of UsingTypeLoc"
(ebbeb164).

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!
}
```
parent eaea793d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment