================ @@ -11311,6 +11311,10 @@ class Sema final { OpenMPDirectiveKind &Kind, OpenMPDirectiveKind &PrevMappedDirective); + /// [target] teams loop is equivalent to parallel for if associated loop + /// nest meets certain critera. + bool teamsLoopCanBeParallelFor(Stmt *Astmt); + ---------------- alexey-bataev wrote:
Do you really need to expose it in Sema or you can make it just a static local function in SemaOpenMP.cpp? https://github.com/llvm/llvm-project/pull/72417 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits