Hi All,<div><br></div><div>I am new to Clang, so may be missing something obvious.</div><div><br></div><div>I am implementing a static analyser and I want to know when objects are constructed and deleted:</div><div><br></div>
<div>{</div><div>  MyClass c;</div><div>}</div><div><br></div><div>in this case, I climb the Ast and visit a CXXConstructExpr but nothing to tell me about the implied destroy.  I could reverse iterate through the compound statement and look for declarations etc. But I was not expecting to have to do this.</div>
<div><br></div><div>Thanks,</div><div>Peter</div>