On Feb 15, 2012, at 10:12 AM, Charles Davis <[email protected]> wrote:

> 
> On Feb 15, 2012, at 10:05 AM, Douglas Gregor wrote:
>> --- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
>> +++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Wed Feb 15 11:05:32 
>> 2012
>> @@ -1141,24 +1141,24 @@
> [...]
>> def err_temp_copy_deleted : Error<
>>  "%select{copying variable|copying parameter|returning object|throwing "
>>  "object|copying member subobject|copying array element|allocating object|"
>>  "copying temporary|initializing base subobject|initializing vector 
>> element}0 "
>> -  "of type %1 invokes deleted constructor">;
>> +  "of type %1 invokes deleted constructor|capturing value">;
>                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Uh, did you mean to do that?

Nice catch. Fixed as part of r150611.

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

Reply via email to