[cfe-dev] Finding function declaration?
popizdeh at gmail.com
Sun May 10 14:49:20 PDT 2015
I think you'll need to use ParentMap from ASTContext.
On Mon, May 11, 2015 at 4:18 AM, Ben Laurie <benl at google.com> wrote:
> If I have a checker for check::PreStmt<ReturnStmt>, how do I get from
> the ReturnStmt to the function it is part of (I want to check
> attributes on that function)?
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev