https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/67538
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
> I wonder does this also fix this: #67058
Nope, this is unrelated, sadly.
https://github.com/llvm/llvm-project/pull/67538
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
shafik wrote:
I wonder does this also fix this:
https://github.com/llvm/llvm-project/issues/67058
https://github.com/llvm/llvm-project/pull/67538
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
@@ -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) {});
er
@@ -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) {});
co
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/67538
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane resolved
https://github.com/llvm/llvm-project/pull/67538
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -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) {});
er
@@ -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) {});
co
@@ -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) {});
er
llvmbot wrote:
@llvm/pr-subscribers-clang
Changes
The conditions of a noexcept and explicit specifier are full expressions.
Before this patch, we would call ActOnFinishFullExpr on these in the context of
the enclosing expression, which would cause the collect of odr-used variables
(and s
https://github.com/cor3ntin created
https://github.com/llvm/llvm-project/pull/67538
The conditions of a noexcept and explicit specifier are full expressions.
Before this patch, we would call ActOnFinishFullExpr on these in the context of
the enclosing expression, which would cause the collect
12 matches
Mail list logo