<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 19, 2016 at 2:48 PM, Michael Layzell via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm trying to determine which destructors are being executed by a goto statement in a clang plugin. Is there a way to accomplish that easily?</div></blockquote><div><br></div><div>We don't explicitly model that in the AST. If you don't want to compute it yourself, you could build a CFG with the AddImplicitDtors flag set -- that should include CFGImplicitDtor elements for the destructor calls.</div></div></div></div>