[flang-commits] [flang] [flang][mlir] Add flang to mlir lowering for groupprivate (PR #180934)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Tue Jun 9 08:08:50 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) {
----------------
skatrak wrote:
Nit: Just to follow the existing naming convention here.
```suggestion
void set_ompGroupprivate(common::OmpDeviceType device) {
```
https://github.com/llvm/llvm-project/pull/180934
More information about the flang-commits
mailing list