Skip to content

Commit 8919fdb

Browse files
Update clang-tools-extra/clang-tidy/modernize/UseStructuredBindingCheck.cpp
Co-authored-by: EugeneZelenko <[email protected]>
1 parent 42a4e5b commit 8919fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/clang-tidy/modernize/UseStructuredBindingCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ AST_MATCHER_P2(Stmt, hasPreTwoVarDecl, ast_matchers::internal::Matcher<VarDecl>,
125125
AST_MATCHER_P2(Stmt, hasNextTwoVarDecl,
126126
ast_matchers::internal::Matcher<VarDecl>, InnerMatcher1,
127127
ast_matchers::internal::Matcher<VarDecl>, InnerMatcher2) {
128-
DynTypedNodeList Parents = Finder->getASTContext().getParents(Node);
128+
const DynTypedNodeList Parents = Finder->getASTContext().getParents(Node);
129129
if (Parents.size() != 1)
130130
return false;
131131

0 commit comments

Comments
 (0)