[cfe-dev] CFG initializers and destructors patch

Ted Kremenek kremenek at apple.com
Wed Sep 15 18:05:42 PDT 2010


On Sep 15, 2010, at 12:37 AM, Zhongxing Xu wrote:

> 
> 
> 2010/9/15 Marcin Świderski <marcin.sfider at gmail.com>
> W dniu 15 września 2010 07:14 użytkownik Zhongxing Xu <xuzhongxing at gmail.com> napisał:
> 
> Hi Marcin,
> 
> I suggest we fix the CFGElement part of design in the first patches, and leave the CFG building processes later. Attached is my patch based on your proposal. The differences are:
> 
> - I made two pointers explicit in the CFGElement since they are simpler and as I calculated before they won't take too much memory, and we can optimize them any time later.
> 
> - I added dtors for temporaries. This is truly needed as we don't want to reason about it every time we need it.
> 
> What do you think?
> 
> I agree with both changes.
> 
> Will you be commiting this patch or should I use it as reference for including your changes in my commits?
> 
> I'd like to commit the patch if Ted approves tomorrow.


The CFGElement changes look good to me.  We can then discuss the builder changes in more detail after we've gotten the baseline CFGElement changes into trunk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100915/59c38255/attachment.html>


More information about the cfe-dev mailing list