<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Ping.<br>
George, could you have a look at this misprint, please?<br>
<br>
Thanks<br>
Vladimir.<br>
<br>
<div class="moz-cite-prefix">On 06/ 6/17 07:48 PM, Vladimir
Voskresensky via cfe-dev wrote:<br>
</div>
<blockquote
cite="mid:17404c7c-c75b-70cc-bb5d-3a49ca132f34@oracle.com"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>