Lines Matching refs:FunctionExpr

375   const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName);  in lengthArgPosHandle()  local
376 lengthExprHandle(FunctionExpr->getArg(ArgPos), LengthHandle, Result, Diag); in lengthArgPosHandle()
414 const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName); in removeArg() local
415 const Expr *ArgToRemove = FunctionExpr->getArg(ArgPos); in removeArg()
416 const Expr *LHSArg = FunctionExpr->getArg(ArgPos - 1); in removeArg()
426 const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName); in renameFunc() local
428 FunctionExpr->getDirectCallee()->getIdentifier()->getLength(); in renameFunc()
430 FunctionExpr->getBeginLoc(), in renameFunc()
431 FunctionExpr->getBeginLoc().getLocWithOffset(FuncNameLength - 1)); in renameFunc()
451 const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName); in insertDestCapacityArg() local
465 FunctionExpr->getArg(1)->getBeginLoc(), NewSecondArg); in insertDestCapacityArg()
472 const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName); in insertNullTerminatorExpr() local
474 FunctionExpr->getBeginLoc()); in insertNullTerminatorExpr()
476 FunctionExpr->getBeginLoc().getLocWithOffset(-FuncLocStartColumn + 1), in insertNullTerminatorExpr()
477 FunctionExpr->getBeginLoc()); in insertNullTerminatorExpr()
491 exprLocEnd(FunctionExpr, Result).getLocWithOffset(1), in insertNullTerminatorExpr()
794 const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName); in check() local
795 if (FunctionExpr->getBeginLoc().isMacroID()) in check()
824 StringRef Name = FunctionExpr->getDirectCallee()->getName(); in check()
922 const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName); in memchrFix() local
923 if (const auto GivenCL = dyn_cast<CharacterLiteral>(FunctionExpr->getArg(1))) in memchrFix()
927 auto Diag = diag(FunctionExpr->getArg(2)->IgnoreParenCasts()->getBeginLoc(), in memchrFix()
933 FunctionExpr->getBeginLoc().getLocWithOffset(-1))); in memchrFix()
968 const auto *FunctionExpr = Result.Nodes.getNodeAs<CallExpr>(FunctionExprName); in ncmpFix() local
969 const Expr *FirstArgExpr = FunctionExpr->getArg(0)->IgnoreImpCasts(); in ncmpFix()
970 const Expr *SecondArgExpr = FunctionExpr->getArg(1)->IgnoreImpCasts(); in ncmpFix()
991 auto Diag = diag(FunctionExpr->getArg(2)->IgnoreParenCasts()->getBeginLoc(), in ncmpFix()