================ @@ -13202,6 +13204,29 @@ StmtResult Sema::ActOnOpenMPAtomicDirective(ArrayRef<OMPClause *> Clauses, E = Checker.getE(); D = Checker.getD(); CE = Checker.getCond(); + /* The weak clause may only appear if the resulting atomic operation is + * an atomic conditional update for which the comparison tests for + * equality. + * It was not possible to do this check in + * OpenMPAtomicCompareChecker::checkStmt() as the check for OMPC_weak + * could not be performed (Clauses are not available). + */ ---------------- alexey-bataev wrote:
Use ะก++ style of comments https://github.com/llvm/llvm-project/pull/79475 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits