Home
last modified time | relevance | path

Searched refs:ObjCMethodCall (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DBasicObjCFoundationChecks.cpp52 static StringRef GetReceiverInterfaceName(const ObjCMethodCall &msg) { in GetReceiverInterfaceName()
118 const ObjCMethodCall &msg, unsigned Arg,
129 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const;
151 const ObjCMethodCall &msg, in warnIfNilArg()
216 void NilArgChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
632 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
636 void ClassReleaseChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
690 bool isVariadicMessage(const ObjCMethodCall &msg) const;
693 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
700 VariadicMethodTypeChecker::isVariadicMessage(const ObjCMethodCall &msg) const { in isVariadicMessage()
[all …]
DCallAndMessageChecker.cpp62 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
73 void emitNilReceiverBug(CheckerContext &C, const ObjCMethodCall &msg,
78 const ObjCMethodCall &msg) const;
111 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in describeUninitializedArgumentInCall()
416 if (isa<ObjCMethodCall>(Call)) in checkPreCall()
435 void CallAndMessageChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
491 const ObjCMethodCall &msg, in emitNilReceiverBug()
531 const ObjCMethodCall &Msg) const { in HandleNilReceiver()
DNSAutoreleasePoolChecker.cpp39 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
44 void NSAutoreleasePoolChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
DNoReturnFunctionChecker.cpp36 void checkPostObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
87 void NoReturnFunctionChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage()
DObjCSelfInitChecker.cpp54 static bool isInitMessage(const ObjCMethodCall &Msg);
72 void checkPostObjCMessage(const ObjCMethodCall &Msg, CheckerContext &C) const;
167 void ObjCSelfInitChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage()
433 static bool isInitMessage(const ObjCMethodCall &Call) { in isInitMessage()
DCheckerDocumentation.cpp90 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPreObjCMessage()
96 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPostObjCMessage()
DDynamicTypePropagation.cpp107 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in checkPostCall()
DRetainCountChecker.cpp760 const RetainSummary *getInstanceMethodSummary(const ObjCMethodCall &M,
763 const RetainSummary *getClassMethodSummary(const ObjCMethodCall &M) { in getClassMethodSummary()
972 if (const ObjCMethodCall *MC = dyn_cast<ObjCMethodCall>(&Call)) { in updateSummaryForCall()
1007 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in getSummary()
1474 RetainSummaryManager::getInstanceMethodSummary(const ObjCMethodCall &Msg, in getInstanceMethodSummary()
1940 CallEventRef<ObjCMethodCall> Call in VisitNode()
2934 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in processSummaryOfInlined()
2982 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in checkSummary()
DMallocChecker.cpp203 void checkPostObjCMessage(const ObjCMethodCall &Call, CheckerContext &C) const;
992 static bool isKnownDeallocObjCMethodName(const ObjCMethodCall &Call) { in isKnownDeallocObjCMethodName()
1007 static Optional<bool> getFreeWhenDoneArg(const ObjCMethodCall &Call) { in getFreeWhenDoneArg()
1018 void MallocChecker::checkPostObjCMessage(const ObjCMethodCall &Call, in checkPostObjCMessage()
2372 if (!(isa<SimpleFunctionCall>(Call) || isa<ObjCMethodCall>(Call))) in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2376 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp607 ArrayRef<ParmVarDecl*> ObjCMethodCall::parameters() const { in parameters()
615 ObjCMethodCall::getExtraInvalidatedValues(ValueList &Values) const { in getExtraInvalidatedValues()
619 SVal ObjCMethodCall::getSelfSVal() const { in getSelfSVal()
627 SVal ObjCMethodCall::getReceiverSVal() const { in getReceiverSVal()
643 bool ObjCMethodCall::isReceiverSelfOrSuper() const { in isReceiverSelfOrSuper()
656 SourceRange ObjCMethodCall::getSourceRange() const { in getSourceRange()
669 const PseudoObjectExpr *ObjCMethodCall::getContainingPseudoObjectExpr() const { in getContainingPseudoObjectExpr()
675 ObjCMessageKind ObjCMethodCall::getMessageKind() const { in getMessageKind()
706 const_cast<ObjCMethodCall *>(this)->Data in getMessageKind()
713 const_cast<ObjCMethodCall *>(this)->Data in getMessageKind()
[all …]
DExprEngineObjC.cpp139 CallEventRef<ObjCMethodCall> Msg = in VisitObjCMessage()
158 CallEventRef<ObjCMethodCall> UpdatedMsg = Msg.cloneWithState(State); in VisitObjCMessage()
DCheckerManager.cpp182 const ObjCMethodCall &Msg;
189 const ObjCMethodCall &msg, ExprEngine &eng, in CheckObjCMessageContext()
199 checkFn(*Msg.cloneWithState<ObjCMethodCall>(Pred->getState()), C); in runChecker()
208 const ObjCMethodCall &msg, in runCheckersForObjCMessage()
DExprEngineCallAndReturn.cpp336 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in processCallExit()
543 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in bindReturnValue()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h37 class ObjCMethodCall; variable
213 const ObjCMethodCall &msg, in runCheckersForPreObjCMessage()
221 const ObjCMethodCall &msg,
232 const ObjCMethodCall &msg, ExprEngine &Eng,
396 typedef CheckerFn<void (const ObjCMethodCall &, CheckerContext &)>
DChecker.h121 static void _checkObjCMessage(void *checker, const ObjCMethodCall &msg, in _checkObjCMessage()
136 static void _checkObjCMessage(void *checker, const ObjCMethodCall &msg, in _checkObjCMessage()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h791 class ObjCMethodCall : public CallEvent {
797 ObjCMethodCall(const ObjCMessageExpr *Msg, ProgramStateRef St, in ObjCMethodCall() function
803 ObjCMethodCall(const ObjCMethodCall &Other) : CallEvent(Other) {} in ObjCMethodCall() function
804 void cloneTo(void *Dest) const override { new (Dest) ObjCMethodCall(*this); } in cloneTo()
959 CallEventRef<ObjCMethodCall>
962 return create<ObjCMethodCall>(E, State, LCtx); in getObjCMethodCall()