[clang] [flang] [llvm] [OpenMP] Finalize OpenMP 6.1, add 7.0 as development version (PR #241928)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 12 07:52:36 PST 2026


================
@@ -1581,7 +1705,8 @@
         {Version(51), {{{Property::Compatible, Property::Free, Property::InnermostLeaf, Property::Optional, Property::Unique}}, "update", {Directive::OMPD_depobj}, SourceLanguage::C | SourceLanguage::Fortran, {}, {}}},
         {Version(52), {{{Property::Compatible, Property::Free, Property::InnermostLeaf, Property::Optional, Property::Unique}}, "update", {Directive::OMPD_depobj}, SourceLanguage::C | SourceLanguage::Fortran, {}, {}}},
         {Version(60), {{{Property::Compatible, Property::Free, Property::InnermostLeaf, Property::Optional, Property::Unique}}, "update", {Directive::OMPD_depobj}, SourceLanguage::C | SourceLanguage::Fortran, {Modifier::DirectiveNameModifier, Modifier::TaskDependenceType}, {}}},
-        {Version(61), {{{Property::Compatible, Property::Free, Property::InnermostLeaf, Property::Optional, Property::Unique}}, "update", {Directive::OMPD_depobj}, SourceLanguage::C | SourceLanguage::Fortran, {Modifier::DirectiveNameModifier, Modifier::TaskDependenceType}, {}}},
+        {Version(61), {{{Property::Compatible, Property::Free, Property::InnermostLeaf, Property::Optional, Property::Unique}}, "update", {Directive::OMPD_depobj}, SourceLanguage::C | SourceLanguage::Fortran, {Modifier::DirectiveNameModifier, Modifier::TaskDependenceType}, {ModifierSet::UpdateDependObjectsModifierSet1}}},
+        {Version(70), {{{Property::Compatible, Property::Free, Property::InnermostLeaf, Property::Optional, Property::Unique}}, "update", {Directive::OMPD_depobj}, SourceLanguage::C | SourceLanguage::Fortran, {Modifier::DirectiveNameModifier, Modifier::TaskDependenceType}, {ModifierSet::UpdateDependObjectsModifierSet1}}},
----------------
alexey-bataev wrote:

The new UpdateDependObjectsModifierSet1 marks task-dependence-type as a required modifier of update on depobj. Flang's parse tree keeps that dependence type as a clause argument, not a modifier.

https://github.com/llvm/llvm-project/pull/241928


More information about the cfe-commits mailing list