]> granicus.if.org Git - clang/commit
MS ABI: Simplify microsoft mangling of template instantiations
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 8 Jun 2014 04:51:13 +0000 (04:51 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 8 Jun 2014 04:51:13 +0000 (04:51 +0000)
commitbafb105aa4c754679262cee323295d7b30462d22
treea42c47974cecb633f13678b2e8dc7a30c05cbf20
parent8258845b81b220c1b41a0711c491768f82b10e2e
MS ABI: Simplify microsoft mangling of template instantiations

Use mangled template instantiation name as key for back references.
Templates have their own context for back references, so their mangling
is always the same regardless of context. This avoids mangling template
instantiations twice.

Patch by Agustín Bergé!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210416 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/MicrosoftMangle.cpp