================ @@ -6580,6 +6578,51 @@ void CodeGenFunction::EmitOMPAtomicDirective(const OMPAtomicDirective &S) { } } + if (KindsEncountered.contains(OMPC_compare) && + KindsEncountered.contains(OMPC_fail)) { + Kind = OMPC_compare; + const OMPFailClause *fC = S.getSingleClause<OMPFailClause>(); + if (fC) { + OpenMPClauseKind fP = fC->getFailParameter(); ---------------- alexey-bataev wrote:
```suggestion OpenMPClauseKind FP = fC->getFailParameter(); ``` https://github.com/llvm/llvm-project/pull/75709 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits