<div dir="ltr">Make sense, fix the visitor seems better than adding the type nodes to AST that no one would use. Will look into this. Thanks for the pointer.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Aug 1, 2013 at 3:53 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
  It seems strange to me to build a TypeSourceInfo for a type that was not actually written. Maybe you could add an 'else' to TraverseFunctionHelper's<br>
<br>
      if (TypeSourceInfo *TSI = D->getTypeSourceInfo())<br>
<br>
  to visit the parameters of the function decl?<br>
<br>
<a href="http://llvm-reviews.chandlerc.com/D958" target="_blank">http://llvm-reviews.chandlerc.com/D958</a><br>
</blockquote></div><br></div>