[cfe-dev] Clang Plugin - RecursiveASTVisitor : Find instantiations of a type (RecordDecl)

Timothée Vandeput timothee.vandeput at gmail.com
Mon Jun 30 13:31:37 PDT 2014


Hello,

In the method *TraverseFieldDecl *of a *RecursiveASTVisitor,* would it be
possible to find all the instantiations of a specific type (RecordDecl) ?

In this particular case, a class X (retrieved via getParent() method)
contains a field (parsed by the TraverseFieldDecl) and I would like to
check the parameters passed to that class X when instantiated.

Thanks for your help,
Timothee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140630/42453f54/attachment.html>


More information about the cfe-dev mailing list