[cfe-dev] misprint in clang::ASTContext::getSubstTemplateTypeParmPackType
Vladimir Voskresensky via cfe-dev
cfe-dev at lists.llvm.org
Tue Jun 6 09:48:59 PDT 2017
Hello,
Is there a misprint in
clang::ASTContext::getSubstTemplateTypeParmPackType method?
The last lines should use collection SubstTemplateTypeParm*PACK*Types,
not SubstTemplateTypeParmTypes
- SubstTemplateTypeParmTypes.InsertNode(SubstParm, InsertPos);
return QualType(SubstParm, 0);
=>
+ SubstTemplateTypeParmPackTypes.InsertNode(SubstParm, InsertPos);
return QualType(SubstParm, 0);
otherwise not clear how InsertPos calcualted for
SubstTemplateTypeParmPackTypes can be used in InsertNode for another
collection
Hope it helps,
Vladimir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170606/19bdb256/attachment.html>
More information about the cfe-dev
mailing list