https://github.com/Sirraide commented:

The main thing I’m concerned about here is that I feel like there ought to be a 
better way of doing this than checking for and disallowing it in every place 
where we can have a subexpression in C.

CC @AaronBallman for opinions on this.

Also, if we’re doing it this way, then the check should definitely be factored 
out into a function in `Sema`.

https://github.com/llvm/llvm-project/pull/116719
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to