[cfe-dev] [Checker Dev] Get arg(0) of VAArgExpr ?

Jean Baptiste Noblot noblot.jb at gmail.com
Thu Jan 23 06:25:05 PST 2014


Hi all,

I write a checker and I use REGISTER_MAP_WITH_PROGRAMSTATE with
MemRegion* for identify which va_list is init/used/close.
But to check if __builtin_va_arg use an init va_list, I use
checkPreStmt<VAArgExpr>
I check in documentation but I don't find how to getArg(0) of VAArgExpr.

So How to getArg(0) with VAArgExpr ?

Thanks for taking the time,
J.B.



More information about the cfe-dev mailing list