File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -194,14 +194,12 @@ static auto getVarInitWithMemberMatcher(
194
194
StringRef PairName, StringRef MemberName, StringRef TypeName,
195
195
StringRef BindingName,
196
196
ast_matchers::internal::Matcher<VarDecl> ExtraMatcher) {
197
- return varDecl (
198
- ExtraMatcher,
199
- hasInitializer (
200
- ignoringImpCasts (ignoringCopyCtorAndImplicitCast (memberExpr (
197
+ return varDecl (ExtraMatcher,
198
+ hasInitializer (ignoringCopyCtorAndImplicitCast (memberExpr (
201
199
hasObjectExpression (ignoringImpCasts (declRefExpr (
202
200
to (equalsBoundNode (std::string (PairName)))))),
203
201
member (fieldDecl (hasName (MemberName),
204
- hasType (qualType ().bind (TypeName)))))))))
202
+ hasType (qualType ().bind (TypeName))))))))
205
203
.bind (BindingName);
206
204
}
207
205
You can’t perform that action at this time.
0 commit comments