<div dir="ltr">On Fri, Jun 21, 2013 at 1:45 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Richard,<br>
<br>
>From our conversation/your help this morning, here's a patch that at<br>
least solves my original problem (Type::getAs<TagDecl> on a RecordDecl<br>
of a non-dependent alias template).<br>
<br>
Does this look about right? This doesn't address the further<br>
simplification of getTypeInfoImpl that we were discussing, but I<br>
expect that can be handled before/after (happy to do it, though, if<br>
you would like me to have a go at it). Are there some test cases I<br>
should add? (I don't know the code well enough to know if this<br>
manifests in any real way, I assume it does though)<br><br></blockquote><div>Untested, but I think this would have an effect on a testcase like the following:</div><div><br></div><p style="margin:0px;font-size:11px;font-family:Menlo">
void g(...);</p><p style="margin:0px;font-size:11px;font-family:Menlo">template<int... numbers> void f(int ...x[numbers]) { g(**x...); }</p><div><br></div><div>-Eli<br></div></div><br></div></div>