[flang-commits] [flang] [llvm] [FLANG][OpenMP]Add frontend support for ASSUME and ASSUMES (PR #120770)
Mats Petersson via flang-commits
flang-commits at lists.llvm.org
Tue Dec 24 03:55:16 PST 2024
================
@@ -3971,6 +3992,15 @@ struct OmpGrainsizeClause {
std::tuple<MODIFIERS(), ScalarIntExpr> t;
};
+// Ref: [5.2: 214]
+//
+// holds-clause ->
+// HOLDS(expr[, expr])
+struct OmpHoldsClause {
+ using ExprList = std::list<common::Indirection<Expr>>;
+ WRAPPER_CLASS_BOILERPLATE(OmpHoldsClause, ExprList);
+};
----------------
Leporacanthicus wrote:
Nope, me being a bit enthusiastic about what that should do! :)
https://github.com/llvm/llvm-project/pull/120770
More information about the flang-commits
mailing list