<div dir="ltr">Hi,
<div><br></div><div>I'm trying to rewrite all DeclStmt-s in which type of variable in VarDecl is a pointer type and rewrite all operator new calls. I know that I can iterate all VarDecl-s by traversing AST and replace such statements, but how to get theirs types and names?</div>
<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thanks,</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Daniil.</span></div>
</div>