[cfe-dev] Searching for user defined structs in param list

steveneliuk s.eliuk at sisa.samsung.com
Fri Mar 15 17:32:10 PDT 2013


As an update,

Solving my own problem,

In the extended recursiveASTVisitor the implemented VisitVarDecr(VarDecl*
var) is the key,

To access this info check the following,

param->getOriginalType().getTypePtr()->isStructureType()

As always, there is likely another way. ;-)



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Searching-for-user-defined-structs-in-param-list-tp4030767p4031002.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list