Update comment for <template-param-decl> mangling to match extended mangling rule in r371004.

llvm-svn: 371252
This commit is contained in:
Richard Smith 2019-09-06 20:32:01 +00:00
parent e0df2dce4c
commit e8b3553992
1 changed files with 1 additions and 0 deletions

View File

@ -1688,6 +1688,7 @@ void CXXNameMangler::mangleUnqualifiedBlock(const BlockDecl *Block) {
// ::= Ty # template type parameter
// ::= Tn <type> # template non-type parameter
// ::= Tt <template-param-decl>* E # template template parameter
// ::= Tp <template-param-decl> # template parameter pack
void CXXNameMangler::mangleTemplateParamDecl(const NamedDecl *Decl) {
if (auto *Ty = dyn_cast<TemplateTypeParmDecl>(Decl)) {
if (Ty->isParameterPack())