================
@@ -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:

Sorry, but could you clarify why that would be necessary? All the flags above 
seem to be combined using the | operator, so this appears consistent.

https://github.com/llvm/llvm-project/pull/135807
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to