aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2019-01-11 07:06:38 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2019-01-11 07:06:38 +0000
commit6c50e1fe0ff78bfc2f4349d34182b5f60533753a (patch)
tree11e10bf5ae0368fb54ff3c07f93606134387f0da /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent8a81b29215c75b5010c5c68b83d8bd2c99595ba2 (diff)
downloadllvm-6c50e1fe0ff78bfc2f4349d34182b5f60533753a.zip
llvm-6c50e1fe0ff78bfc2f4349d34182b5f60533753a.tar.gz
llvm-6c50e1fe0ff78bfc2f4349d34182b5f60533753a.tar.bz2
[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/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions