[PATCH] Don't copy objects with trivial, deleted copy ctors

Reid Kleckner rnk at google.com
Mon May 12 17:09:21 PDT 2014


Hm, this approach fails quickly when I try to compile some simple programs.
 This program doesn't declare any special members:
struct S { int a; };
void foo(S s) { }

On Mon, May 12, 2014 at 4:15 PM, Reid Kleckner <rnk at google.com> wrote:

>   - Review stuff and add a test case for multiple copy ctors
>
> http://reviews.llvm.org/D3660
>
> Files:
>   lib/CodeGen/CGCXXABI.cpp
>   lib/CodeGen/CGCXXABI.h
>   lib/CodeGen/ItaniumCXXABI.cpp
>   lib/CodeGen/MicrosoftCXXABI.cpp
>   test/CodeGenCXX/uncopyable-args.cpp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140512/e48766fd/attachment.html>


More information about the cfe-commits mailing list