]> granicus.if.org Git - clang/commit
PR14279: Work around this major miscompilation by treating move operations as
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 14 Nov 2012 07:36:28 +0000 (07:36 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 14 Nov 2012 07:36:28 +0000 (07:36 +0000)
commit93af2b839224badbb0555f8920c44fc9a1c793fe
tree7c6c7450106d0b2c5d8388dcbc26de316504481c
parent4a030228d1bfa0cab89114a18d6b50b44eb3a1a8
PR14279: Work around this major miscompilation by treating move operations as
non-trivial if they would not call a move operation, even if they would in fact
call a trivial copy operation. A proper fix is to follow, but this small
directed fix is intended for porting to the 3.2 release branch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167920 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclCXX.cpp
test/CodeGenCXX/cxx11-special-members.cpp [new file with mode: 0644]