aalmkainzi wrote:
The problem is that there is a difference between file scope compound literal
and `constexpr`.
```C
const int a = 1;
constexpr int i = (int){a}; // ok
constexpr int j = a; // error
```
I'm looking into it a bit more. Maybe this PR is not going to be needed if I
manage to fix the root issue.
https://github.com/llvm/llvm-project/pull/230477
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits