On Sun, Aug 1, 2010 at 1:20 PM, John McCall <[email protected]> wrote:
> Author: rjmccall
> Date: Sun Aug  1 15:20:59 2010
> New Revision: 109984
>
> URL: http://llvm.org/viewvc/llvm-project?rev=109984&view=rev
> Log:
> Make a first pass at implementing -Wglobal-constructors.  I'm worried that 
> this
> will end up bizarrely mirroring CGExprConstant, but that might be the hazard 
> of
> this feature.

We already have Expr::isConstantInitializer which does something very
similar... could these be merged somehow?

Also, it's not obvious your patch does the right thing for 'char x[] = "asdf";'.

-Eli

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to