[PATCH] D139125: [clang] Correctly handle by-reference capture with an initializer that is a pack expansion in lambdas.
Jens Massberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 6 09:16:38 PST 2022
massberg updated this revision to Diff 480518.
massberg added a comment.
Instead of lokking if there is a pack expansion pass the already computed information whether we have a by ref or a by copy type.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139125/new/
https://reviews.llvm.org/D139125
Files:
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaLambda.cpp
clang/lib/Sema/TreeTransform.h
clang/test/SemaCXX/lambda-pack-expansion.cpp
clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139125.480518.patch
Type: text/x-patch
Size: 5045 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221206/bd07a78d/attachment.bin>
More information about the cfe-commits
mailing list