Update comment for <template-param-decl> mangling to match extended mangling rule...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 6 Sep 2019 20:32:01 +0000 (20:32 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 6 Sep 2019 20:32:01 +0000 (20:32 +0000)
llvm-svn: 371252

clang/lib/AST/ItaniumMangle.cpp

index 76781c2..2a2b491 100644 (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())