commit | da795b45f47df61a1b5a491e8d4ea078cf2a217b | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jan 04 16:44:10 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jan 04 16:44:10 2012 +0000 |
tree | 72522014c932cf89f5ab08d515f03ad14f49ea3c | |
parent | b3453a810407cd8d7f526c6faabe9a4c9f0a6f67 [diff] |
Implement declaration merging for typedefs loaded from disjoint modules, so long as the typedefs refer to the same underlying type. This ensures that the typedefs end up in the same redeclaration chain. To test this, fix name lookup for C/Objective-C to properly deal with multiple declarations with the same name in the same scope. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147533 91177308-0d34-0410-b5e6-96231b3b80d8