@@ -117,10 +117,10 @@ AST_MATCHER_P(Stmt, hasPreTwoVarDecl,
117
117
if (!C)
118
118
return false ;
119
119
120
- const auto I = llvm::find (llvm::reverse (C->body ()), &Node);
121
- assert (I != C->body_rend () && " C is parent of Node" );
122
- return matchNVarDeclStartingWith (I + 1 , C->body_rend (), InnerMatchers, Finder ,
123
- Builder, true );
120
+ const auto It = llvm::find (llvm::reverse (C->body ()), &Node);
121
+ assert (It != C->body_rend () && " C is parent of Node" );
122
+ return matchNVarDeclStartingWith (It + 1 , C->body_rend (), InnerMatchers,
123
+ Finder, Builder, true );
124
124
}
125
125
126
126
// / Matches a Stmt whose parent is a CompoundStmt, and which is directly
@@ -136,9 +136,9 @@ AST_MATCHER_P(Stmt, hasNextTwoVarDecl,
136
136
if (!C)
137
137
return false ;
138
138
139
- const auto *I = llvm::find (C->body (), &Node);
140
- assert (I != C->body_end () && " C is parent of Node" );
141
- return matchNVarDeclStartingWith (I + 1 , C->body_end (), InnerMatchers, Finder,
139
+ const auto *It = llvm::find (C->body (), &Node);
140
+ assert (It != C->body_end () && " C is parent of Node" );
141
+ return matchNVarDeclStartingWith (It + 1 , C->body_end (), InnerMatchers, Finder,
142
142
Builder);
143
143
}
144
144
0 commit comments