Home
last modified time | relevance | path

Searched refs:MatchedCall (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/android/
H A DCloexecCheck.cpp55 const auto *MatchedCall = Result.Nodes.getNodeAs<CallExpr>(FuncBindingStr); in insertMacroFlag() local
56 const auto *FlagArg = MatchedCall->getArg(ArgPos); in insertMacroFlag()
76 const auto *MatchedCall = Result.Nodes.getNodeAs<CallExpr>(FuncBindingStr); in replaceFunc() local
77 diag(MatchedCall->getBeginLoc(), WarningMsg) in replaceFunc()
78 << FixItHint::CreateReplacement(MatchedCall->getSourceRange(), FixMsg); in replaceFunc()
84 const auto *MatchedCall = Result.Nodes.getNodeAs<CallExpr>(FuncBindingStr); in insertStringFlag() local
86 const auto *ModeArg = MatchedCall->getArg(ArgPos); in insertStringFlag()
104 const auto *MatchedCall = Result.Nodes.getNodeAs<CallExpr>(FuncBindingStr); in getSpellingArg() local
107 CharSourceRange::getTokenRange(MatchedCall->getArg(N)->getSourceRange()), in getSpellingArg()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DDurationFactoryFloatCheck.cpp46 const auto *MatchedCall = Result.Nodes.getNodeAs<CallExpr>("call"); in check() local
49 if (insideMacroDefinition(Result, MatchedCall->getSourceRange())) in check()
52 const Expr *Arg = MatchedCall->getArg(0)->IgnoreImpCasts(); in check()
62 diag(MatchedCall->getBeginLoc(), "use the integer version of absl::%0") in check()
63 << MatchedCall->getDirectCallee()->getName() in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DPosixReturnCheck.cpp23 const CallExpr *MatchedCall = cast<CallExpr>( in getFunctionSpelling() local
27 MatchedCall->getCallee()->getSourceRange()), in getFunctionSpelling()