[cfe-dev] Working on the rest of PR10063: destructors and the CFG are causing issues with -Wreturn-type

Ted Kremenek kremenek at apple.com
Mon Sep 12 12:21:23 PDT 2011


On Sep 12, 2011, at 11:54 AM, Chandler Carruth wrote:

> Not yet, easy to get though. The overhead is the SmallVector<..., 10> which I use to reverse the VarDecl*s prior to appending them. That *shouldn't* have an observable impact, but I'll measure it. =] I just wanted to see if I was on the right track at all.
> 

I think you are on the right track.

Keep in mind, that we can also possibly change the internal representation of a CFGBlock if it makes it easier to do the splitting, etc., while still maintaining good performance.  For example, we could possibly remove operator[] from CFGBlock, if removing the random access feature makes it easier to implement such changes with good performance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110912/2027e3f4/attachment.html>


More information about the cfe-dev mailing list