[cfe-commits] r128394 - /cfe/trunk/test/SemaCXX/uninitialized.cpp

Chris Lattner clattner at apple.com
Mon Mar 28 16:09:22 PDT 2011


On Mar 27, 2011, at 1:36 PM, Chandler Carruth wrote:

> Also, I added a test for the most simple base case:
> int x = x;
> 
> And it turns out we miss this one! =[ That and another bad FIXME on the
> field initializer checking are left in the test.

This is a specific case that should be handled under its own flag (-Wself-init).  People in the GNU community use this to say "make a variable that I know is uninitialized, but don't tell me about it".

-Chris



More information about the cfe-commits mailing list