BertalanD wrote:
@cor3ntin fyi, we have been seeing build failures since this commit on code
like this:
```c++
void should_compile() {
if constexpr (false) {
auto lam = []() { return 0; };
1 | lam();
}
}
```
The error is:
```console
bug.cpp:4:7: error: invalid operands to binary expression ('int' and 'void')
4 | 1 | lam();
| ~ ^ ~~~~~
1 error generated.
```
https://github.com/llvm/llvm-project/pull/140576
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits