]> granicus.if.org Git - clang/commit
Re-apply r174919 - smarter copy/move assignment/construction, with fixes for
authorLang Hames <lhames@gmail.com>
Sun, 17 Feb 2013 07:22:09 +0000 (07:22 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 17 Feb 2013 07:22:09 +0000 (07:22 +0000)
commit56c00c4868831c9a137ca7b0e16d063cf986d110
tree7f34b0c64c6f4a63e411c4229cff5afc2046326c
parent28a2cecfda994ed9df897ab147159def8d8a4c19
Re-apply r174919 - smarter copy/move assignment/construction, with fixes for
bitfield related issues.

The original commit broke Takumi's builder. The bug was caused by bitfield sizes
being determined by their underlying type, rather than the field info. A similar
issue with bitfield alignments showed up on closer testing. Both have been fixed
in this patch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175389 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/copy-assign-synthesis-1.cpp
test/CodeGenCXX/implicit-copy-assign-operator.cpp
test/CodeGenCXX/implicit-copy-constructor.cpp
test/CodeGenCXX/pod-member-memcpys.cpp [new file with mode: 0644]