Home
last modified time | relevance | path

Searched refs:getOriginExpr (Results 1 – 18 of 18) sorted by relevance

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h223 const Expr *getOriginExpr() const { in getOriginExpr() function
265 return getOriginExpr()->getSourceRange(); in getSourceRange()
482 virtual const CallExpr *getOriginExpr() const { in getOriginExpr() function
483 return cast<CallExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
488 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs()
491 return getOriginExpr()->getArg(Index); in getArgExpr()
519 virtual const CallExpr *getOriginExpr() const { in getOriginExpr() function
520 return cast<CallExpr>(CallEvent::getOriginExpr()); in getOriginExpr()
523 unsigned getNumArgs() const override { return getOriginExpr()->getNumArgs(); } in getNumArgs()
526 return getOriginExpr()->getArg(Index); in getArgExpr()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp29 const Expr *E = getOriginExpr(); in getResultType()
190 return Result->invalidateRegions(ValuesToInvalidate, getOriginExpr(), in invalidateRegions()
198 if (const Expr *E = getOriginExpr()) { in getProgramPoint()
238 const Expr *E = getOriginExpr(); in getReturnValue()
248 if (const Expr *E = getOriginExpr()) { in dump()
413 const FunctionDecl *D = getOriginExpr()->getDirectCallee(); in getDecl()
417 return getSVal(getOriginExpr()->getCallee()).getAsFunctionDecl(); in getDecl()
422 const CallExpr *CE = cast_or_null<CallExpr>(getOriginExpr()); in getDecl()
567 return getOriginExpr()->getImplicitObjectArgument(); in getCXXThisExpr()
575 if (const MemberExpr *ME = dyn_cast<MemberExpr>(getOriginExpr()->getCallee())) in getRuntimeDefinition()
[all …]
DExprEngineCallAndReturn.cpp423 const Expr *CallE = Call.getOriginExpr(); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
526 const Expr *E = Call.getOriginExpr(); in bindReturnValue()
609 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind()
905 const Expr *E = Call->getOriginExpr(); in defaultEvalCall()
DExprEngineCXX.cpp70 const Expr *CallExpr = Call.getOriginExpr(); in performTrivialCopy()
DCheckerManager.cpp589 const CallExpr *CE = cast<CallExpr>(Call.getOriginExpr()); in runCheckersForEvalCall()
/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp472 const ObjCMessageExpr *ME = msg.getOriginExpr(); in checkPreObjCMessage()
497 const ObjCMessageExpr *ME = msg.getOriginExpr(); in emitNilReceiverBug()
544 C.addTransition(state->BindExpr(Msg.getOriginExpr(), LCtx, V), &Tag); in HandleNilReceiver()
550 .isConsumedExpr(Msg.getOriginExpr())) { in HandleNilReceiver()
582 C.addTransition(state->BindExpr(Msg.getOriginExpr(), LCtx, V), &Tag); in HandleNilReceiver()
DObjCSuperDeallocChecker.cpp109 reportUseAfterDealloc(ReceiverSymbol, Desc, M.getOriginExpr(), C); in checkPreObjCMessage()
243 if (M.getOriginExpr()->getReceiverKind() != ObjCMessageExpr::SuperInstance) in isSuperDeallocMessage()
DDynamicTypePropagation.cpp168 switch (Ctor->getOriginExpr()->getConstructionKind()) { in checkPreCall()
225 const ObjCMessageExpr *MsgE = Msg->getOriginExpr(); in checkPostCall()
251 switch (Ctor->getOriginExpr()->getConstructionKind()) { in checkPostCall()
722 const ObjCMessageExpr *MessageExpr = M.getOriginExpr(); in checkPreObjCMessage()
787 const ObjCMessageExpr *MessageExpr = M.getOriginExpr(); in checkPostObjCMessage()
DTraversalChecker.cpp92 const Expr *CallE = Call.getOriginExpr(); in checkPostCall()
DNoReturnFunctionChecker.cpp48 const Expr *Callee = CE.getOriginExpr(); in checkPostCall()
DBasicObjCFoundationChecks.cpp1065 const Expr *MsgExpr = M.getOriginExpr(); in checkPostObjCMessage()
1096 StaticClass = Message->getOriginExpr()->getReceiverInterface(); in getMethodReceiverIfKnownImmutable()
1240 State = assumeExprIsNonNull(M.getOriginExpr(), State, C); in checkPostObjCMessage()
1252 State = assumeExprIsNonNull(M.getOriginExpr(), State, C); in checkPostObjCMessage()
1260 State = assumeExprIsNonNull(M.getOriginExpr(), State, C); in checkPostObjCMessage()
DCheckObjCDealloc.cpp711 BR->addRange(M.getOriginExpr()->getSourceRange()); in diagnoseExtraRelease()
749 BR->addRange(M.getOriginExpr()->getSourceRange()); in diagnoseMistakenDealloc()
793 if (M.getOriginExpr()->getReceiverKind() != ObjCMessageExpr::SuperInstance) in isSuperDeallocMessage()
DVforkChecker.cpp163 const Stmt *P = PM.getParentIgnoreParenCasts(Call.getOriginExpr()); in checkPostCall()
DObjCSelfInitChecker.cpp186 SVal V = state->getSVal(Msg.getOriginExpr(), C.getLocationContext()); in checkPostObjCMessage()
DRetainCountChecker.cpp981 const Expr *ME = MC->getOriginExpr(); in updateSummaryForCall()
3041 ErrorRange = MsgInvocation->getOriginExpr()->getReceiverRange(); in checkSummary()
3093 const Expr *Ex = CallOrMsg.getOriginExpr(); in checkSummary()
DNullabilityChecker.cpp906 const ObjCMessageExpr *Message = M.getOriginExpr(); in checkPostObjCMessage()
DLocalizationChecker.cpp826 if (!Call.getOriginExpr()) in checkPostCall()
DMallocChecker.cpp1044 Call.getOriginExpr(), C.getState(), in checkPostObjCMessage()