Skip to content
Commit 05925031 authored by Douglas Gregor's avatar Douglas Gregor
Browse files

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.

llvm-svn: 85400
parent 04f121bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment