]> granicus.if.org Git - clang/commit
Merging r352822:
authorHans Wennborg <hans@hanshq.net>
Fri, 1 Feb 2019 10:57:17 +0000 (10:57 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 1 Feb 2019 10:57:17 +0000 (10:57 +0000)
commitfaa48a04464e76a5cd0e66dccf66a9a8a5b62b51
treeecd320c1025d2ec2fe9b15d1204015e7b64c2c3c
parent26f58c1748ca0ffcbf243e8ee9c925589575c81c
Merging r352822:
------------------------------------------------------------------------
r352822 | ahatanak | 2019-02-01 01:12:06 +0100 (Fri, 01 Feb 2019) | 8 lines

Revert "[Sema] Make canPassInRegisters return true if the CXXRecordDecl passed"

This reverts commit r350920 as it is not clear whether we should force a
class to be returned in registers when copy and move constructors are
both deleted.

For more background, see the following discussion:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20190128/259907.html
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_80@352855 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclCXX.cpp
test/CodeGenCXX/trivial_abi.cpp