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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits