[clang] [Clang] Handle sema of noexcept condition in their evaluation context. (PR #67538)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 27 07:53:38 PDT 2023
================
@@ -718,3 +718,8 @@ void foo() {
void GH48527() {
auto a = []()__attribute__((b(({ return 0; })))){}; // expected-warning {{unknown attribute 'b' ignored}}
}
+
+void GH67492() {
+ constexpr auto test = 42;
+ auto lambda = (test, []() noexcept(true) {});
----------------
erichkeane wrote:
Ah, I see! This is a different test than the one I'd seen before! I thought you were fixing that concept-in-lambda thing from a day or two ago.
https://github.com/llvm/llvm-project/pull/67538
More information about the cfe-commits
mailing list