commit | 3efe999a9a3b7b71cf18d8751ec6068f24425c1b | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jan 17 18:13:45 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jan 17 18:13:45 2012 +0000 |
tree | 76482f626e1aa9b2a942878999a7aad08104d738 | |
parent | a6ea10e22b600d92e084f6b11b9b9a92d0eb2412 [diff] |
When collecting all of the redeclarations of a declaration loaded from a module file, be sure to also add the first (potentially canonical) declarations to the chain. This isn't guaranteed to occur because the first declaration is not listed in the stored redeclaration chain. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148314 91177308-0d34-0410-b5e6-96231b3b80d8