<div dir="ltr"><div><div><div><div>Hi all,<br></div>please consider this code:<br><br></div>int main {<br></div>   int a = 7;<br></div>   int b = a;<br><div><div>}<br><br></div><div>I have a Decl object called decl that represents int b = a; If i do decl->getInit() i can have an Expr pointer that represents a I think. From there how can i retrieve the variable name 'a'? Maybe using getNameAsString()? I tried but it didn't work.<br><br></div><div>Thanks,<br>Alberto<br></div></div></div>