Hi,<br>I want to differentiate variable references read and written<br>For example:<br>int i;<br>....<br> x = i;  ( here i is read while x is written)<br>....<br>i = 10; ( here i is written)<br><br>every variable reference can be caught by DeclRefExpr but how to decide modified variables in the statement?<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>