[flang-commits] [flang] [llvm] [flang][OpenMP] Move clause validity checks into OpenMP-specific code (PR #205607)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Thu Jun 25 12:46:41 PDT 2026
================
@@ -96,6 +96,16 @@ static constexpr inline bool isDataSharingAttributeClause(Clause C,
}
}
+static constexpr inline bool isEndClause(Clause C) {
+ switch (C) {
+ case OMPC_copyprivate:
+ case OMPC_nowait:
+ return true;
+ default:
+ return false;
+ }
+}
+
----------------
kparzysz wrote:
These directives are going away.
https://github.com/llvm/llvm-project/pull/205607
More information about the flang-commits
mailing list