[cfe-dev] TypeLoc of function result type?

Gábor Kozár kozargabor at gmail.com
Wed Sep 4 09:56:33 PDT 2013


Manuel, Jordan, thank you for your help! I have completely missed the
fact that TypeLoc has subclasses.



--
Gábor Kozár -- ShdNx
kozargabor at gmail.com





On Wed, Sep 4, 2013, at 18:20, Jordan Rose wrote:

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 <[1]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

[2]kozargabor at gmail.com



_______________________________________________

cfe-dev mailing list

[3]cfe-dev at cs.uiuc.edu

[4]http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

References

1. mailto:kozargabor at gmail.com
2. mailto:kozargabor at gmail.com
3. mailto:cfe-dev at cs.uiuc.edu
4. http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130904/12e1cf3e/attachment.html>


More information about the cfe-dev mailing list