[cfe-commits] dead code in Sema::CheckForConstantInitializer?

Chris Lattner clattner at apple.com
Mon Feb 23 20:13:49 PST 2009


On Feb 23, 2009, at 5:17 PM, Eli Friedman wrote:

> On Mon, Feb 23, 2009 at 2:44 PM, Chris Lattner <clattner at apple.com>  
> wrote:
>> Almost all of Sema::CheckForConstantInitializer is dead, should it be
>> removed?
>
> I sort-of addressed it in my commit message... we need a more
> elaborate CheckForConstantInitializer for -pedantic mode, and I think
> we might want to re-use some of the existing code.  If you prefer, it
> would be okay to remove it, though; we can always dig the code out of
> SVN history.

I'm ok with keeping it, but please #if 0 it out and put a big comment  
around it.  Thanks Eli!  Also, thanks for working on that area!

-Chris



More information about the cfe-commits mailing list