[cfe-dev] Is there any way to get the caller of the CallExpr* in VisitCallExpr method?

lotay 158481612 at qq.com
Sun Dec 29 04:34:33 PST 2013


Hi all.

the method of getDirectCallee() can get the callee(be called
method/function) of the call expression, 
but Is there any way to get the caller(the method/ function who called it)
of the CallExpr* in VisitCallExpr () method? 
Can anyone help me for this problem, or are there any other ways to know the
caller of one call expression?

Thanks in advance for any help...



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Is-there-any-way-to-get-the-caller-of-the-CallExpr-in-VisitCallExpr-method-tp4036801.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list