<div dir="ltr"><div>On Wed, Sep 4, 2013 at 1:35 PM, Gábor Kozár <span dir="ltr"><<a href="mailto:kozargabor@gmail.com" target="_blank">kozargabor@gmail.com</a>></span> wrote:<br></div><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"><u></u>




<div><div>Hi,<br></div>
<div> </div>
<div>I want to get the TypeLoc of a FunctionDecl's result type. I can easily get the TypeLoc of the parameters, but there seem to be no way to get the same information about the result type. What am I missing here? </div>
</div></blockquote><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">FD->getTypeSourceInfo().getTypeLoc().getAs<FunctionTypeLoc>()->getResultLoc()</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">(minus that there might be pointers in between ;)</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Cheers,</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">/Manuel</span></div><div> </div><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">
<div><div></div>
<div> </div>
<div>Thanks!<span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888">
<div> </div>
<div><div>-- <br></div>
<div>  Gábor Kozár -- ShdNx<br></div>
<div>  <a href="mailto:kozargabor@gmail.com" target="_blank">kozargabor@gmail.com</a><br></div>
<div> </div>
</div>
</font></span></div>

<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div></div>