Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DBasicObjCFoundationChecks.cpp50 static StringRef GetReceiverInterfaceName(const ObjCMethodCall &msg) { in GetReceiverInterfaceName()
103 const ObjCMethodCall &msg, unsigned Arg,
114 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const;
136 const ObjCMethodCall &msg, in warnIfNilArg()
198 void NilArgChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
591 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
595 void ClassReleaseChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
647 bool isVariadicMessage(const ObjCMethodCall &msg) const;
650 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
657 VariadicMethodTypeChecker::isVariadicMessage(const ObjCMethodCall &msg) const { in isVariadicMessage()
[all …]
DCallAndMessageChecker.cpp47 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
57 void emitNilReceiverBug(CheckerContext &C, const ObjCMethodCall &msg,
62 const ObjCMethodCall &msg) const;
91 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in describeUninitializedArgumentInCall()
315 if (isa<ObjCMethodCall>(Call)) in checkPreCall()
330 void CallAndMessageChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
387 const ObjCMethodCall &msg, in emitNilReceiverBug()
427 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.cpp33 void checkPostObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
100 void NoReturnFunctionChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage()
DCheckerDocumentation.cpp90 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPreObjCMessage()
96 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPostObjCMessage()
DObjCSelfInitChecker.cpp54 static bool isInitMessage(const ObjCMethodCall &Msg);
66 void checkPostObjCMessage(const ObjCMethodCall &Msg, CheckerContext &C) const;
170 void ObjCSelfInitChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage()
435 static bool isInitMessage(const ObjCMethodCall &Call) { in isInitMessage()
DDynamicTypePropagation.cpp107 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in checkPostCall()
DRetainCountChecker.cpp757 const RetainSummary *getInstanceMethodSummary(const ObjCMethodCall &M,
760 const RetainSummary *getClassMethodSummary(const ObjCMethodCall &M) { in getClassMethodSummary()
965 if (const ObjCMethodCall *MC = dyn_cast<ObjCMethodCall>(&Call)) { in updateSummaryForCall()
1000 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in getSummary()
1458 RetainSummaryManager::getInstanceMethodSummary(const ObjCMethodCall &Msg, in getInstanceMethodSummary()
1911 CallEventRef<ObjCMethodCall> Call in VisitNode()
2830 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in processSummaryOfInlined()
2878 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in checkSummary()
DMallocChecker.cpp188 void checkPostObjCMessage(const ObjCMethodCall &Call, CheckerContext &C) const;
685 static bool isKnownDeallocObjCMethodName(const ObjCMethodCall &Call) { in isKnownDeallocObjCMethodName()
700 static Optional<bool> getFreeWhenDoneArg(const ObjCMethodCall &Call) { in getFreeWhenDoneArg()
711 void MallocChecker::checkPostObjCMessage(const ObjCMethodCall &Call, in checkPostObjCMessage()
1862 if (!(isa<FunctionCall>(Call) || isa<ObjCMethodCall>(Call))) in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1866 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp609 CallEvent::param_iterator ObjCMethodCall::param_begin() const { in param_begin()
617 CallEvent::param_iterator ObjCMethodCall::param_end() const { in param_end()
626 ObjCMethodCall::getExtraInvalidatedValues(ValueList &Values) const { in getExtraInvalidatedValues()
630 SVal ObjCMethodCall::getSelfSVal() const { in getSelfSVal()
638 SVal ObjCMethodCall::getReceiverSVal() const { in getReceiverSVal()
654 bool ObjCMethodCall::isReceiverSelfOrSuper() const { in isReceiverSelfOrSuper()
667 SourceRange ObjCMethodCall::getSourceRange() const { in getSourceRange()
680 const PseudoObjectExpr *ObjCMethodCall::getContainingPseudoObjectExpr() const { in getContainingPseudoObjectExpr()
686 ObjCMessageKind ObjCMethodCall::getMessageKind() const { 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()
DExprEngineCallAndReturn.cpp336 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in processCallExit()
543 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in bindReturnValue()
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()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h812 class ObjCMethodCall : public CallEvent {
818 ObjCMethodCall(const ObjCMessageExpr *Msg, ProgramStateRef St, in ObjCMethodCall() function
824 ObjCMethodCall(const ObjCMethodCall &Other) : CallEvent(Other) {} in ObjCMethodCall() function
825 virtual void cloneTo(void *Dest) const { new (Dest) ObjCMethodCall(*this); } in cloneTo()
973 CallEventRef<ObjCMethodCall>
976 return create<ObjCMethodCall>(E, State, LCtx); in getObjCMethodCall()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h38 class ObjCMethodCall; variable
245 const ObjCMethodCall &msg, in runCheckersForPreObjCMessage()
253 const ObjCMethodCall &msg,
264 const ObjCMethodCall &msg, ExprEngine &Eng,
426 typedef CheckerFn<void (const ObjCMethodCall &, CheckerContext &)>
DChecker.h125 static void _checkObjCMessage(void *checker, const ObjCMethodCall &msg, in _checkObjCMessage()
140 static void _checkObjCMessage(void *checker, const ObjCMethodCall &msg, in _checkObjCMessage()