[cfe-dev] doing global unused methods analysis
Noel Grandin via cfe-dev
cfe-dev at lists.llvm.org
Mon Oct 5 07:35:01 PDT 2015
On 2015-10-05 03:40 PM, Manuel Klimek wrote:
>
> Note that the AST dump doesn't contain all nodes.
> In this case, it is correct though. The problem is that the method is not actually instantiated. You'll need to
> reference it in order for it to actually get instantiated.
>
Hi
You are correct, and doing an --ast-dump dump of my actual code reveals that the CallExpr node I want is there (under a
ClassTemplateSpecializationDecl node).
Now I just need to figure out why my VisitCallExpr method is not being called.
Thanks for the help.
Regards, Noel.
More information about the cfe-dev
mailing list