[cfe-commits] [PATCH] CFG automatic object destructors

Zhongxing Xu xuzhongxing at gmail.com
Mon Sep 27 22:06:26 PDT 2010


Hi Marcin,

There are some bugs in your patch. I tested with the code attached. The
printed CFG has some errors in block B2.

I'll look at the patch to try to locate the bug.

2010/9/28 Marcin Świderski <marcin.sfider at gmail.com>

> Patch adds implicit destructors generation for objects with automatic
> storage duration. Patch is rather big, but it contains all cases (that I
> thought of), as it will be easier to review as a whole IMO. While commiting
> I can divide it to smaller chuncks.
>
> I've added some test cases. They can be later used to create regresion
> tests.
>
> Please approve for commit.
>
> Marcin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100928/175fc1b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg.pdf
Type: application/pdf
Size: 3858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100928/175fc1b5/attachment.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scope.cpp
Type: text/x-c++src
Size: 333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100928/175fc1b5/attachment.cpp>


More information about the cfe-commits mailing list