[clang] [clang][OpenMP] Diagnose badly-formed collapsed imperfect loop nests (#60678) (PR #101305)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 31 07:36:23 PDT 2024


================
@@ -9069,7 +9147,8 @@ static bool checkOpenMPIterationSpace(
     Expr *OrderedLoopCountExpr,
     SemaOpenMP::VarsWithInheritedDSAType &VarsWithImplicitDSA,
     llvm::MutableArrayRef<LoopIterationSpace> ResultIterSpaces,
-    llvm::MapVector<const Expr *, DeclRefExpr *> &Captures) {
+    llvm::MapVector<const Expr *, DeclRefExpr *> &Captures,
+    const llvm::SmallSet<Decl *, 4> *CollapsedLoopVarDecls) {
----------------
alexey-bataev wrote:

Reference and SmallSetImpl

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


More information about the cfe-commits mailing list