[cfe-dev] TypeLoc of function result type?

Jordan Rose jordan_rose at apple.com
Wed Sep 4 09:20:57 PDT 2013


The result type comes from the FunctionTypeLoc, which you get from the FunctionDecl.

Jordan


On Sep 4, 2013, at 4:35 , Gábor Kozár <kozargabor at gmail.com> wrote:

> Hi,
>  
> 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?
>  
> Thanks!
>  
> -- 
> Gábor Kozár -- ShdNx
> kozargabor at gmail.com
>  
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list