[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
================
@@ -9475,6 +9555,36 @@ static Expr *buildPostUpdate(Sema &S, ArrayRef<Expr *> PostUpdates) {
return PostUpdate;
}
+class ForVarDeclFinder : public RecursiveASTVisitor<ForVarDeclFinder> {
+ int NestingDepth;
----------------
alexey-bataev wrote:
`int NestingDepth = 0;`
https://github.com/llvm/llvm-project/pull/101305
More information about the cfe-commits
mailing list