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

Charles Davis cdavis at mymail.mines.edu
Wed Feb 15 10:12:45 PST 2012


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?

Chip





More information about the cfe-commits mailing list