[cfe-dev] get value of passed params in function call

Douglas Gregor dgregor at apple.com
Wed Aug 18 06:51:16 PDT 2010


On Aug 18, 2010, at 6:22 AM, Ilya Mirsky wrote:

> Hi all,
> 
> Sorry for the flooding, if anyone can help I'll really appreciate it.
> I'm able to get type of args in a CallExpr Stmt, but I can't figure out how to get their values.

CallExpr::getArg() will give you the expression for an argument to the call.

	- Doug



More information about the cfe-dev mailing list