commit | c6c8e0ec96bb64f1b9f543d7c8317c6090f80a30 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jan 09 17:30:44 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 09 17:30:44 2012 +0000 |
tree | 39aea2b30aebc4a42f967293a8e28181ab8fc20e | |
parent | c02d62f0b82c144f7db2a71c3b4565de8c6163e5 [diff] |
Implement redeclaration merging for namespaces defined in distinct modules. Teach name lookup into namespaces to search in each of the merged DeclContexts as well as the (now-primary) DeclContext. This supports the common case where two different modules put something into the same namespace. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147778 91177308-0d34-0410-b5e6-96231b3b80d8