[PATCH] D140614: [C++20] Mark lambdas in lambda specifiers as dependent if necessary
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 2 00:47:33 PST 2023
cor3ntin added inline comments.
================
Comment at: clang/test/SemaCXX/lambda-unevaluated.cpp:127
+auto foo(int t) {
+ int(*f)(int) = [](auto t) -> decltype([=] { return t; } ()) { return t; };
+ return f;
----------------
I thought unevaluated lambdas could not have captures. that might be the issue here
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140614/new/
https://reviews.llvm.org/D140614
More information about the cfe-commits
mailing list