Douglas Gregor wrote: > Author: dgregor > Date: Mon Feb 2 11:43:21 2009 > New Revision: 63525 > > URL: http://llvm.org/viewvc/llvm-project?rev=63525&view=rev > Log: > Check value-initializations that occur when an initializer list > provides too few elements. > > > + > + if (Type->isReferenceType()) { > + // C++ [dcl.init]p5: > + // [...] A program that calls for default-initialization or > + // value-initialization of an entity of reference type is > + // ill-formed. [...] > + } > + >
Is it intentional that there is neither code nor a FIXME here? Sebastian _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
