Hi,<br><br>I am traversing C source code using ASTConsumer.<br>bool Visit(Stmt *S)<br>{<br>.........<br>........<br>      if( isa<DeclRefExpr>(S) )<br>                ProcessDeclRefExpr(cast<DeclRefExpr>(S));<br>

..........<br>........<br>}<br><br>Whenever any variable or function is referred if condition(given in above code fragment ) evaluates to true<br>and it is processed by ProcessDeclRefExpr function.<br><br>I want to handle variable and functions ref differently.<br>

How can i distinguish between variable and function ref??????/ <br><br><br><font style="color: rgb(51, 51, 51);" size="4"><b style="font-family: arial narrow,sans-serif;">------------------------------------------------------------</b></font><br>

<font style="color: rgb(51, 51, 51);" size="4"><b>Jignesh Vasoya</b><br>248-Pampa Hostel,<br>IIT Madras,<br>India.</font><br><br>