commit | 7f1c547ee6cd413845f7df9713c701f99866f91d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Aug 11 14:45:53 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Aug 11 14:45:53 2010 +0000 |
tree | 7d94d3aa703e2adf2fc5bda776d81e62ebb058cf | |
parent | 6bf1830875673d6bd6c5bfcd65c9dcabfb45958b [diff] |
If name lookup finds different type declarations in different scopes that actually refer to the same underlying type, it is not an ambiguity; add uniquing support based on the canonical type of type declarations. Fixes <rdar://problem/8296180>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110806 91177308-0d34-0410-b5e6-96231b3b80d8