Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
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()
191 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(), in checkASTCodeBody()
192 ae = i->AllocCall->arg_end(); ai != ae; ++ai) { in checkASTCodeBody()
223 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); in checkASTCodeBody()
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp42 const CallExpr *AllocCall; member
46 const CallExpr *AllocCall) in CallRecord()
48 ExplicitCastType(ExplicitCastType), AllocCall(AllocCall) {} in CallRecord()
60 TypeCallPair AllocCall = Visit(S); in VisitChild() local
61 if (AllocCall.second && AllocCall.second != S) in VisitChild()
62 Calls.push_back(CallRecord(Parent, cast<Expr>(S), AllocCall.first, in VisitChild()
63 AllocCall.second)); in VisitChild()
190 for (CallExpr::const_arg_iterator ai = i->AllocCall->arg_begin(), in checkASTCodeBody()
191 ae = i->AllocCall->arg_end(); ai != ae; ++ai) { in checkASTCodeBody()
222 const FunctionDecl *Callee = i->AllocCall->getDirectCallee(); in checkASTCodeBody()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMisplacedPointerArithmeticInAllocCheck.cpp35 const auto AllocCall = callExpr(callee(decl(anyOf(AllocFunc, AllocFuncPtr)))); in registerMatchers() local
40 hasLHS(anyOf(AllocCall, castExpr(hasSourceExpression(AllocCall)))), in registerMatchers()