diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-07-08 23:24:41 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-07-08 23:24:41 +0000 |
commit | 793231c319f05c476071f0aad5104219be9185f8 (patch) | |
tree | cddd2cb23eee9dbda55bac6743d6361ba0d45f70 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 315ce839be27d66727c6eef9f211de424180b728 (diff) | |
download | llvm-793231c319f05c476071f0aad5104219be9185f8.zip llvm-793231c319f05c476071f0aad5104219be9185f8.tar.gz llvm-793231c319f05c476071f0aad5104219be9185f8.tar.bz2 |
[cxx2a] P0624R2 fix: only lambdas with no lambda-capture are default-constructible and assignable.
This is a fix for rG864949 which only disabled default construction and
assignment for lambdas with capture-defaults, where the C++2a draft
disables them for lambdas with any lambda-capture at all.
Patch by Logan Smith!
Differential Revision: https://reviews.llvm.org/D64058
llvm-svn: 365406
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions