Lines Matching defs:FindExpr
117 const auto FindExpr = cxxMemberCallExpr(
158 hasOperands(cxxMemberCallExpr(anyOf(FindExpr, RFindExpr, CompareExpr,
209 const auto *FindExpr = Result.Nodes.getNodeAs<CXXMemberCallExpr>("find_expr");
222 FindExpr->getBeginLoc().isMacroID())
225 // Make sure FindExpr->getArg(0) can be used to make a range in the FitItHint.
226 if (FindExpr->getNumArgs() == 0)
234 auto Diagnostic = diag(FindExpr->getExprLoc(), "use %0 instead of %1")
239 ComparisonExpr->getBeginLoc(), FindExpr->getBeginLoc()));
242 Diagnostic << FixItHint::CreateReplacement(FindExpr->getExprLoc(),
247 CharSourceRange::getTokenRange(FindExpr->getArg(0)->getBeginLoc(),
253 Diagnostic << FixItHint::CreateInsertion(FindExpr->getBeginLoc(), "!");