================
@@ -3700,6 +3701,11 @@ CGOpenMPRuntime::emitTaskInit(CodeGenFunction &CGF,
SourceLocation Loc,
if (NeedsCleanup)
Flags = Flags | DestructorsFlag;
}
+ if (const auto *Clause = D.getSingleClause<OMPThreadsetClause>()) {
----------------
Ritanya-B-Bharadwaj wrote:
For this flag, I followed the existing pattern where flags are handled
directly, not through the data parameter, to stay consistent. Since the other
flags are also managed this way, it didn’t seem necessary to change it just for
this case. However, if you think using the data parameter is the right
approach, I can take it up separately as a new task — to modify the existing
features and add support for passing all flags via the data parameter.
https://github.com/llvm/llvm-project/pull/135807
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits