[cfe-dev] Function return type from ReturnStmt

Phil King phil_king at rocketmail.com
Fri Mar 23 01:49:16 PDT 2012


Hi,

I'm trying to get the return type for the function associated with a ReturnStmt AST node.

The type of the return expression is easy as that's available via getRetValue(), but I can't see an obvious way to get the return type of the function (so I can check the two match).

Any pointers would be greatly appreciated !

 
Phil.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120323/d1688075/attachment.html>


More information about the cfe-dev mailing list