diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-03-04 05:38:05 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-03-04 05:38:05 +0000 |
| commit | 18c20f5f85989cfc004566f00feff6561cc192fe (patch) | |
| tree | 9e115d91b58258962215101d5a737911a1e7c22c /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 3c5c22b2e28865ae5809b7ec7f265c756a81b860 (diff) | |
| download | clang-18c20f5f85989cfc004566f00feff6561cc192fe.tar.gz clang-18c20f5f85989cfc004566f00feff6561cc192fe.tar.bz2 clang-18c20f5f85989cfc004566f00feff6561cc192fe.tar.xz | |
MS ABI: Mangle variable templates properly
We wouldn't recognize variable templates as being templates leading us
to leave the template arguments off of the mangled name. This would
allow two unrelated templates to map to the same mangled name.
N.B. While MSVC doesn't support variable templates as of this date,
this mangling is the most likely thing they will choose to use. Their
demangler can successfully demangle our manglings with the template
arguments shown.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
