diff options
author | Faisal Vali <faisalv@yahoo.com> | 2016-07-23 04:05:19 +0000 |
---|---|---|
committer | Faisal Vali <faisalv@yahoo.com> | 2016-07-23 04:05:19 +0000 |
commit | c6b9be29f270e6adc0922cb6e9be000f7102b663 (patch) | |
tree | 58e796c5e76f0eeac88440340b1072aea8874257 /llvm/lib/Transforms/IPO/InlineSimple.cpp | |
parent | a653927e8b98d9877254bebfab0d008c9670dbb0 (diff) | |
download | bcm5719-llvm-c6b9be29f270e6adc0922cb6e9be000f7102b663.tar.gz bcm5719-llvm-c6b9be29f270e6adc0922cb6e9be000f7102b663.zip |
[cxx1z-constexpr-lambda] Make a lambda's closure type eligible as a literal-type in C++1z
Additionally, for pre-C++1z, instead of forbidding a lambda's closure type from being a literal type through circumlocutorily setting HasNonLiteralTypeFieldsOrBases falsely to true -- handle lambda's more directly in CXXRecordDecl::isLiteral().
One additional small step towards implementing constexpr-lambdas.
Thanks to Richard Smith for his review!
https://reviews.llvm.org/D22662
llvm-svn: 276514
Diffstat (limited to 'llvm/lib/Transforms/IPO/InlineSimple.cpp')
0 files changed, 0 insertions, 0 deletions