akash-manna-sky wrote:

> SemaOpenMP.cpp:2670
> 
> ```
> -  if (ErrorFound == NoError && E && X) {
> +  if (ErrorFound == NoError && E && X && !E->containsErrors() &&
> +      !X->containsErrors()) {
> ```

Actually I'd noticed this one too but had left it for a follow-up; makes sense 
to fold it in here too. Added tests for `x += 0--;`  also.


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

Reply via email to