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

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 6 13:32:01 PDT 2019


Author: rsmith
Date: Fri Sep  6 13:32:01 2019
New Revision: 371252

URL: http://llvm.org/viewvc/llvm-project?rev=371252&view=rev
Log:
Update comment for <template-param-decl> mangling to match extended mangling rule in r371004.

Modified:
    cfe/trunk/lib/AST/ItaniumMangle.cpp

Modified: cfe/trunk/lib/AST/ItaniumMangle.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ItaniumMangle.cpp?rev=371252&r1=371251&r2=371252&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ItaniumMangle.cpp (original)
+++ cfe/trunk/lib/AST/ItaniumMangle.cpp Fri Sep  6 13:32:01 2019
@@ -1688,6 +1688,7 @@ void CXXNameMangler::mangleUnqualifiedBl
 //   ::= 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())




More information about the cfe-commits mailing list