[flang] [llvm] [flang][OpenMP]Add support for fail clause (PR #118683)

Mats Petersson via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 03:28:26 PST 2024


================
@@ -4098,6 +4099,14 @@ struct OmpUpdateClause {
   std::variant<OmpDependenceType, OmpTaskDependenceType> u;
 };
 
+// OMP 5.2 15.8.3 extened-atomic, fail-clause ->
+//    FAIL(memory-order)
+struct OmpFailClause {
+  WRAPPER_CLASS_BOILERPLATE(
+      OmpFailClause, common::Indirection<OmpMemoryOrderClause>);
+  CharBlock source;
+};
+
----------------
Leporacanthicus wrote:

Done.

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


More information about the llvm-commits mailing list