owenca wrote:

> The static_assert hinted to be an expression and when the || was hit the fate 
> was doomed. As far as I see we can never be sure if it's an expression or a 
> template, but we can improve the situation for common cases.

It seems to me that `static_assert` is a declaration with a boolean expression 
as its first argument. IMO it would be safer to fix that instead.

https://github.com/llvm/llvm-project/pull/165631
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to