Hi,
I am traversing C source code using ASTConsumer.
bool Visit(Stmt *S)
{
…
…
if( isa(S) )
ProcessDeclRefExpr(cast(S));
…
…
}
Whenever any variable or function is referred if condition(given in above code fragment ) evaluates to true
and it is processed by ProcessDeclRefExpr function.
I want to handle variable and functions ref differently.
How can i distinguish between variable and function ref???/