[cfe-dev] Function return type from ReturnStmt

Phil King phil_king at rocketmail.com
Fri Mar 23 06:20:27 PDT 2012


Thanks, but that gives the type of the return expression. I'm after the function prototype (if there is one) so I can do some checking between the expected and actual types. Phil.



________________________________
 From: Nikola Smiljanic <popizdeh at gmail.com>
To: Phil King <phil_king at rocketmail.com> 
Cc: Clang dev mailing list <cfe-dev at cs.uiuc.edu> 
Sent: Friday, 23 March 2012, 9:12
Subject: Re: [cfe-dev] Function return type from ReturnStmt
 
Until somebody who definitely knows this answers, how about
stmt->getRetValue()->getType()?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120323/545fc472/attachment.html>


More information about the cfe-dev mailing list