[clang] [llvm] [clang][OpenMP] New OpenMP 6.0 threadset clause (PR #135807)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 08:56:44 PDT 2025
================
@@ -3700,6 +3701,11 @@ CGOpenMPRuntime::emitTaskInit(CodeGenFunction &CGF, SourceLocation Loc,
if (NeedsCleanup)
Flags = Flags | DestructorsFlag;
}
+ if (const auto *Clause = D.getSingleClause<OMPThreadsetClause>()) {
----------------
alexey-bataev wrote:
Better to pass the flag as part of the Data parameter
https://github.com/llvm/llvm-project/pull/135807
More information about the llvm-commits
mailing list