[cfe-commits] r150589 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td test/CXX/expr/expr.prim/expr.prim.lambda/p14.cpp

Douglas Gregor dgregor at apple.com
Wed Feb 15 11:38:21 PST 2012


On Feb 15, 2012, at 10:12 AM, Charles Davis <cdavis at mymail.mines.edu> 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



More information about the cfe-commits mailing list