[cfe-commits] [Review] Partial fix for PR 11645: put destructor calls before a return statement.

Ted Kremenek kremenek at apple.com
Wed Jan 18 11:48:16 PST 2012


On Tuesday, January 17, 2012 at 8:40 PM, Xu Zhongxing wrote:
> What is the real benefits of having a ReturnStmt appeared as a terminator in addition to as a regular element? Not all functions have return statements. 
It's not useful for the static analyzer, but it could potentially be useful for clients of the CFG that want to know about the return statement before looking at the destructor logic. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120118/e0617620/attachment.html>


More information about the cfe-commits mailing list