[llvm-branch-commits] [clang] [clang][OpenMP] Simplify check for taskloop in `ActOnOpenMPLoopInitia… (PR #98633)

Alexey Bataev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 12 06:45:50 PDT 2024


================
@@ -9090,14 +9090,15 @@ void SemaOpenMP::ActOnOpenMPLoopInitialization(SourceLocation ForLoc,
           isOpenMPSimdDirective(DKind)
               ? (DSAStack->hasMutipleLoops() ? OMPC_lastprivate : OMPC_linear)
               : OMPC_private;
+      auto isOpenMPTaskloopDirective = [](OpenMPDirectiveKind DK) {
----------------
alexey-bataev wrote:

IsOpenMPTaskloopDirective

https://github.com/llvm/llvm-project/pull/98633


More information about the llvm-branch-commits mailing list