[PATCH] D96975: [Sema] Add some basic lambda capture fix-its
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 7 05:53:45 PST 2021
njames93 updated this revision to Diff 328859.
njames93 added a comment.
Add check to prevent emitting copy capture fixes for non-copyable types
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96975/new/
https://reviews.llvm.org/D96975
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/test/CXX/drs/dr6xx.cpp
clang/test/CXX/expr/expr.prim/expr.prim.lambda/p12.cpp
clang/test/CXX/expr/expr.prim/expr.prim.lambda/p2-generic-lambda-1y.cpp
clang/test/SemaCXX/cxx1y-generic-lambdas-capturing.cpp
clang/test/SemaCXX/cxx1y-generic-lambdas.cpp
clang/test/SemaCXX/cxx1y-init-captures.cpp
clang/test/SemaCXX/cxx1z-constexpr-lambdas.cpp
clang/test/SemaCXX/lambda-expressions.cpp
clang/test/SemaCXX/lambda-invalid-capture.cpp
clang/test/SemaObjCXX/capturing-flexible-array-in-block.mm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96975.328859.patch
Type: text/x-patch
Size: 31811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210307/47b88b76/attachment-0001.bin>
More information about the cfe-commits
mailing list