[flang-commits] [flang] [flang][mlir] Add flang to mlir lowering for groupprivate (PR #180934)

via flang-commits flang-commits at lists.llvm.org
Wed Jun 10 02:51:38 PDT 2026


================
@@ -76,8 +76,22 @@ class WithOmpDeclarative {
     ompDeviceType_ = device;
   }
 
+  const OmpClauseSet &ompGroupprivate() const { return ompGroupprivate_; }
+  void set_ompGroupprivate(OmpClauseSet clauses) { ompGroupprivate_ = clauses; }
+
+  const std::optional<common::OmpDeviceType> &
+  ompGroupprivateDeviceType() const {
+    return ompGroupprivateDeviceType_;
+  }
+  void set_ompGroupprivateDeviceType(common::OmpDeviceType device) {
----------------
skc7 wrote:

Renamed to the overloaded `set_ompGroupprivate`.

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


More information about the flang-commits mailing list