================
@@ -16989,6 +16992,10 @@ ExprResult
SemaOpenMP::VerifyPositiveIntegerConstantInClause(
DSAStack->setAssociatedLoops(Result.getExtValue());
else if (CKind == OMPC_ordered)
DSAStack->setAssociatedLoops(Result.getExtValue());
+
+ if (CKind == OMPC_transparent)
+ if (Result.isNegative() || Result.getExtValue() > 3)
----------------
alexey-bataev wrote:
Better to avoid using the magic constant values
https://github.com/llvm/llvm-project/pull/166810
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits