Itanium ABI: Template template parameters are usable as substitutions
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 24 Oct 2014 20:22:57 +0000 (20:22 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 24 Oct 2014 20:22:57 +0000 (20:22 +0000)
commit90a3b19e645143e320b8ea4b5ca348bc6fb34e94
treef64c52fc1c00e55870b4e9bdcd4c9b355fdc3a9b
parent8925dc0ae0800623e882fd3c650d8ac4b6ceacf9
Itanium ABI: Template template parameters are usable as substitutions

Template template parameters weren't added to the list of substitutions.
This would make the substitution map contain inaccurate mappings,
leading to Clang violating the Itanium ABI and breaking compatibility
with GCC.

This fixes PR21351.

Differential Revision: http://reviews.llvm.org/D5959

llvm-svn: 220588
clang/lib/AST/ItaniumMangle.cpp
clang/test/CodeGenCXX/mangle.cpp