[cfe-dev] Return Type Location
Nikola Smiljanic
popizdeh at gmail.com
Tue Jul 1 15:19:44 PDT 2014
What about getTypeSpecStartLoc? FunctionDecl is derived from a number of
classes, the method is likely to be in one of them.
On Wed, Jul 2, 2014 at 6:11 AM, Daniel Dilts <diltsman at gmail.com> wrote:
> How do I get a SourceLocation for a FunctionDecl return type?
> FunctionDecl::getReturnType() returns QualType, and I don't think that I
> can get source locations from there.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> 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/20140702/a88aedf7/attachment.html>
More information about the cfe-dev
mailing list