[flang] [llvm] [flang][OpenMP] Add parsing support for Task detach (PR #112312)

Kiran Chandramohan via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 03:00:05 PDT 2024


================
@@ -3515,6 +3515,12 @@ struct OmpIfClause {
   std::tuple<std::optional<DirectiveNameModifier>, ScalarLogicalExpr> t;
 };
 
+// OpenMPv5.2 12.5.2 detach-clause -> DETACH (event-handle)
+struct OmpDetachClause {
+  WRAPPER_CLASS_BOILERPLATE(OmpDetachClause, OmpObject);
+  CharBlock source;
----------------
kiranchandramohan wrote:

Is this used currently? Don't you have to use a `sourced()` parser to fill it?

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


More information about the llvm-commits mailing list