File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -158,15 +158,13 @@ void LostStdMoveCheck::check(const MatchFinder::MatchResult &Result) {
158
158
llvm::SmallPtrSet<const DeclRefExpr *, 16 > DeclRefs;
159
159
160
160
SmallVector<BoundNodes, 1 > Matches = match (
161
- findAll (declRefExpr (
162
-
163
- to (varDecl (equalsNode (MatchedDecl))),
164
-
165
- unless (hasAncestor (lambdaExpr (hasAnyCapture (lambdaCapture (
166
- capturesVar (varDecl (equalsNode (MatchedDecl))))))))
161
+ findAll (
162
+ declRefExpr (to (varDecl (equalsNode (MatchedDecl))),
163
+ unless (hasAncestor (lambdaExpr (hasAnyCapture (lambdaCapture (
164
+ capturesVar (varDecl (equalsNode (MatchedDecl))))))))
167
165
168
- )
169
- .bind (" ref" )),
166
+ )
167
+ .bind (" ref" )),
170
168
*MatchedLeafStatement, *Result.Context );
171
169
extractNodesByIdTo (Matches, " ref" , DeclRefs);
172
170
if (DeclRefs.size () > 1 ) {
You can’t perform that action at this time.
0 commit comments