================ @@ -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>(); ---------------- alexey-bataev wrote:
```suggestion const auto *FC = S.getSingleClause<OMPFailClause>(); ``` 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