Commit c39e95cf authored by Haojian Wu's avatar Haojian Wu Committed by Tobias Hieta
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!
}
```

(cherry picked from commit e400c63c)
parent 99777ef9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment