On Feb 2, 2009, at 1:21 PM, Sebastian Redl wrote:

> 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?

Oops! Good eye. I'll fix very soon.

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

Reply via email to