[flang-commits] [flang] [llvm] [flang][OpenMP] Allow INIT clause on DEPOBJ, add depinfo-modifier (PR #173056)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Mon Dec 29 02:36:47 PST 2025
================
@@ -252,6 +252,23 @@ void OmpDirectiveNameParser::initTokens(std::vector<NameWithId> table[]) const {
}
}
+// --- Common types ---------------------------------------------------
+
+TYPE_PARSER(construct<common::OmpDependenceKind>(
+ "DEPOBJ" >> pure(common::OmpDependenceKind::Depobj) ||
+ "IN"_id >> pure(common::OmpDependenceKind::In) ||
+ "INOUT"_id >> pure(common::OmpDependenceKind::Inout) ||
----------------
tblah wrote:
I think this is okay for now, I just asked because I didn't quite understand what was going on here. Thank you for explaining.
https://github.com/llvm/llvm-project/pull/173056
More information about the flang-commits
mailing list