Home
last modified time | relevance | path

Searched refs:AllocCall (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp43 const CallExpr *AllocCall; member
47 const CallExpr *AllocCall) in CallRecord()
49 ExplicitCastType(ExplicitCastType), AllocCall(AllocCall) {} in CallRecord()
61 TypeCallPair AllocCall = Visit(S); in VisitChild() local
62 if (AllocCall.second && AllocCall.second != S) in VisitChild()
63 Calls.push_back(CallRecord(Parent, cast<Expr>(S), AllocCall.first, in VisitChild()
64 AllocCall.second)); in VisitChild()
194 for (const Expr *Arg : CallRec.AllocCall->arguments()) { in checkASTCodeBody()
225 const FunctionDecl *Callee = CallRec.AllocCall->getDirectCallee(); in checkASTCodeBody()
234 Ranges.push_back(CallRec.AllocCall->getCallee()->getSourceRange()); in checkASTCodeBody()
[all …]
/src/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp760 ExprResult AllocCall = B->S.ActOnCallExpr( in transformForValuePrinting() local
765 assert(!AllocCall.isInvalid() && "Can't create runtime interface call!"); in transformForValuePrinting()
784 Expr *Args[] = {E, AllocCall.get(), ArrSizeExpr}; in transformForValuePrinting()
792 AllocCall.get(), in transformForValuePrinting()