Skip to content
Commit 6c50e1fe authored by Akira Hatanaka's avatar Akira Hatanaka
Browse files

[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
parent 8a81b292
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment