[clang] [llvm] [clang][OpenMP] New OpenMP 6.0 threadset clause (PR #135807)

via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 08:20:26 PDT 2025


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


More information about the cfe-commits mailing list