MS ABI: Mangle alias templates used as template-template arguments
authorDavid Majnemer <david.majnemer@gmail.com>
Wed, 30 Jul 2014 08:20:03 +0000 (08:20 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Wed, 30 Jul 2014 08:20:03 +0000 (08:20 +0000)
commit8d5f9ab2cc2a76d490ffc6317d9552b05901ff63
treebe791e083c00be93430821e3122644b58db3a29e
parent5c72938c39f97672f0557069cfcce9dd95446477
MS ABI: Mangle alias templates used as template-template arguments

A templated using declaration may be used as a template-template
argument.

Unfortunately, the VS "14" chooses '?' as the sole marker for the
argument.  This is problematic because it presupposes the possibility of
using more than one template-aliases as arguments to the same template.

This fixes PR20047.

llvm-svn: 214290
clang/lib/AST/MicrosoftMangle.cpp
clang/test/CodeGenCXX/mangle-ms-cxx11.cpp