[PATCH] D150075: Fix PR#62594 : static lambda call operator is not convertible to function pointer on win32
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 8 05:37:43 PDT 2023
aaron.ballman added a comment.
Can you also add a release note for the fix? The changes generally LGTM
================
Comment at: clang/test/SemaCXX/cxx23-static-callop-lambda-expression.cpp:12
+
+ auto lstatic = []() static consteval //expected-note {{declared here}} expected-error{{cannot take address of consteval call}}
+ { return 3; };
----------------
================
Comment at: clang/test/SemaCXX/cxx23-static-callop-lambda-expression.cpp:33
+}
\ No newline at end of file
----------------
Please add the newline to the file.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150075/new/
https://reviews.llvm.org/D150075
More information about the cfe-commits
mailing list