diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-12-08 01:57:53 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-12-08 01:57:53 +0000 |
commit | ebc3317c66638a05a089abb348877b9b823f52b0 (patch) | |
tree | 838655d71aa044be4aeb56ec7baab715710749e7 /lib/CodeGen/CGClass.cpp | |
parent | e3fdca2ee0346a41d9cc5ee417a75e66274216f5 (diff) |
Make copy assignment operator synthesis not explode for classes with complex
or non-record aggregate members.
It might be worth spending some time to optimize this code (and the parallel
code for copy constructors) to memcpy in larger chunks, rather than copying
one member at a time. Not sure exactly how beneficial that would be, but
it seems like could help for large classes with, for example, a vtable pointer
forcing the generation of a copy constructor.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions