diff options
| author | Akira Hatanaka <ahatanaka@apple.com> | 2019-01-11 07:06:38 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@apple.com> | 2019-01-11 07:06:38 +0000 |
| commit | 6c50e1fe0ff78bfc2f4349d34182b5f60533753a (patch) | |
| tree | 11e10bf5ae0368fb54ff3c07f93606134387f0da /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 8a81b29215c75b5010c5c68b83d8bd2c99595ba2 (diff) | |
[Sema] Make canPassInRegisters return true if the CXXRecordDecl passed
to it is a trivial_abi class.
A class that has all of its copy and move constructors deleted can still
be passed or returned in registers if the class is annotated with
trivial_abi.
This fixes PR39683.
llvm-svn: 350920
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
