forked from OSchip/llvm-project
406e65c8d1
fields in the class. This allows a better checking of member intiailizers and in class initializers in regards to initialization ordering. For instance, this code will now produce warnings: class A { int x; int y; A() : x(y) {} // y is initialized after x, warn here A(int): y(x) {} // default initialization of leaves x uninitialized, warn here }; Several test cases were updated with -Wno-uninitialized to silence this warning. llvm-svn: 191068 |
||
---|---|---|
.. | ||
dcl.init.aggr | ||
dcl.init.list | ||
dcl.init.ref | ||
dcl.init.string | ||
p5.cpp | ||
p6.cpp | ||
p7.cpp | ||
p14-0x.cpp |