Searching for user defined structs in param list

Hi everyone,

Likely a pretty simple question for you clang gurus,

I know one can get the type of a 'param' using 'getOriginalType()'. Now is
there a way to check if this is a user defined struct? ie) something in the
source not attached through libs, etc?

I am trying to search param lists for user defined structs,

Thank you,

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,


As always, there is likely another way. :wink: