<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
Is there a misprint in
clang::ASTContext::getSubstTemplateTypeParmPackType method?<br>
The last lines should use collection
SubstTemplateTypeParm*PACK*Types, not SubstTemplateTypeParmTypes <br>
<br>
- SubstTemplateTypeParmTypes.<span class="pl-c1">InsertNode</span>(SubstParm,
InsertPos);<br>
<span class="pl-k">return</span> <span class="pl-c1">QualType</span>(SubstParm,
<span class="pl-c1">0</span>);<br>
=><br>
+ SubstTemplateTypeParmPackTypes.<span class="pl-c1">InsertNode</span>(SubstParm,
InsertPos);<br>
<span class="pl-k">return</span> <span class="pl-c1">QualType</span>(SubstParm,
<span class="pl-c1">0</span>);<br>
<br>
otherwise not clear how InsertPos calcualted for
SubstTemplateTypeParmPackTypes can be used in InsertNode for another
collection<br>
<br>
Hope it helps,<br>
Vladimir.<br>
</body>
</html>