commit | 457e2815d43fa68f7ff7cd2f7e9d1bf7b6fdc653 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Oct 28 16:31:34 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Oct 28 16:31:34 2009 +0000 |
tree | 72d34991a911e99b4c4b05fa41d4a80416dfed6c | |
parent | e7e18200e614a5e619602a088544c85ac8305a1f [diff] |
Mangle based on the declaration we're given, not the canonical declaration, since attributes that affect mangling may have been added to subsequent declarations. However, to determine the linkage of the declaration, we need to look at the canonical declaration. Fixes PR4412. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85400 91177308-0d34-0410-b5e6-96231b3b80d8