NFC: Minor cleanup of function calls

This commit is contained in:
Stephen Kelly 2021-01-17 18:25:00 +00:00
parent 50be8e4471
commit 9a7fb08487
1 changed files with 1 additions and 4 deletions

View File

@ -257,10 +257,7 @@ public:
return true;
ScopedIncrement ScopedDepth(&CurrentDepth);
if (!match(*Node->getDecomposedForm().LHS) ||
!match(*Node->getDecomposedForm().RHS))
return false;
return true;
return match(*Node->getLHS()) && match(*Node->getRHS());
}
bool TraverseLambdaExpr(LambdaExpr *Node) {
if (!Finder->isTraversalIgnoringImplicitNodes())