sun-jacobi wrote: Moreover, in the original implementation, the `checkStatement` return false if and only if there is no error in the statement. The question is whether `checkStatement` should consider a statement, which contains semantic errors not related to the atomic directive, as a `NoError` statement.
In my opinion, for such a case, it should be considered as an invalid statement. https://github.com/llvm/llvm-project/pull/71480 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits