Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DCallAndMessageChecker.cpp63 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
68 void checkObjCMessageNil(const ObjCMethodCall &msg, CheckerContext &C) const;
80 void emitNilReceiverBug(CheckerContext &C, const ObjCMethodCall &msg,
85 const ObjCMethodCall &msg) const;
118 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in describeUninitializedArgumentInCall()
423 if (isa<ObjCMethodCall>(Call)) in checkPreCall()
442 void CallAndMessageChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
484 void CallAndMessageChecker::checkObjCMessageNil(const ObjCMethodCall &msg, in checkObjCMessageNil()
490 const ObjCMethodCall &msg, in emitNilReceiverBug()
531 const ObjCMethodCall &Msg) const { in HandleNilReceiver()
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 …]
DCheckerDocumentation.cpp91 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPreObjCMessage()
97 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPostObjCMessage()
106 void checkObjCMessageNil(const ObjCMethodCall &M, CheckerContext &C) const {} in checkObjCMessageNil()
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;
166 void ObjCSelfInitChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage()
432 static bool isInitMessage(const ObjCMethodCall &Call) { in isInitMessage()
DDynamicTypePropagation.cpp106 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const;
107 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const;
204 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in checkPostCall()
681 void DynamicTypePropagation::checkPreObjCMessage(const ObjCMethodCall &M, in checkPreObjCMessage()
760 void DynamicTypePropagation::checkPostObjCMessage(const ObjCMethodCall &M, in checkPostObjCMessage()
DLocalizationChecker.cpp84 void reportLocalizationError(SVal S, const ObjCMethodCall &M,
98 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
99 void checkPostObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const;
624 SVal S, const ObjCMethodCall &M, CheckerContext &C, in reportLocalizationError()
666 void NonLocalizedStringChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
804 void NonLocalizedStringChecker::checkPostObjCMessage(const ObjCMethodCall &msg, in checkPostObjCMessage()
DRetainCountChecker.cpp761 const RetainSummary *getInstanceMethodSummary(const ObjCMethodCall &M,
764 const RetainSummary *getClassMethodSummary(const ObjCMethodCall &M) { in getClassMethodSummary()
975 if (const ObjCMethodCall *MC = dyn_cast<ObjCMethodCall>(&Call)) { in updateSummaryForCall()
1009 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in getSummary()
1497 RetainSummaryManager::getInstanceMethodSummary(const ObjCMethodCall &Msg, in getInstanceMethodSummary()
1963 CallEventRef<ObjCMethodCall> Call in VisitNode()
2955 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in processSummaryOfInlined()
3040 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in checkSummary()
DNullabilityChecker.cpp115 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const;
663 static Nullability getReceiverNullability(const ObjCMethodCall &M, in getReceiverNullability()
695 void NullabilityChecker::checkPostObjCMessage(const ObjCMethodCall &M, in checkPostObjCMessage()
DMallocChecker.cpp203 void checkPostObjCMessage(const ObjCMethodCall &Call, CheckerContext &C) const;
996 static bool isKnownDeallocObjCMethodName(const ObjCMethodCall &Call) { in isKnownDeallocObjCMethodName()
1011 static Optional<bool> getFreeWhenDoneArg(const ObjCMethodCall &Call) { in getFreeWhenDoneArg()
1022 void MallocChecker::checkPostObjCMessage(const ObjCMethodCall &Call, in checkPostObjCMessage()
2386 if (!(isa<SimpleFunctionCall>(Call) || isa<ObjCMethodCall>(Call))) in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2390 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp664 ArrayRef<ParmVarDecl*> ObjCMethodCall::parameters() const { in parameters()
672 ObjCMethodCall::getExtraInvalidatedValues(ValueList &Values, in getExtraInvalidatedValues()
677 SVal ObjCMethodCall::getSelfSVal() const { in getSelfSVal()
685 SVal ObjCMethodCall::getReceiverSVal() const { in getReceiverSVal()
701 bool ObjCMethodCall::isReceiverSelfOrSuper() const { in isReceiverSelfOrSuper()
714 SourceRange ObjCMethodCall::getSourceRange() const { in getSourceRange()
727 const PseudoObjectExpr *ObjCMethodCall::getContainingPseudoObjectExpr() const { in getContainingPseudoObjectExpr()
733 ObjCMessageKind ObjCMethodCall::getMessageKind() const { in getMessageKind()
764 const_cast<ObjCMethodCall *>(this)->Data in getMessageKind()
771 const_cast<ObjCMethodCall *>(this)->Data in getMessageKind()
[all …]
DExprEngineObjC.cpp139 CallEventRef<ObjCMethodCall> Msg = in VisitObjCMessage()
228 CallEventRef<ObjCMethodCall> UpdatedMsg = Msg.cloneWithState(State); in VisitObjCMessage()
DCheckerManager.cpp184 const ObjCMethodCall &Msg;
192 const ObjCMethodCall &msg, ExprEngine &eng, in CheckObjCMessageContext()
215 checkFn(*Msg.cloneWithState<ObjCMethodCall>(Pred->getState()), C); in runChecker()
224 const ObjCMethodCall &msg, in runCheckersForObjCMessage()
DExprEngineCallAndReturn.cpp336 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in processCallExit()
544 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in bindReturnValue()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h37 class ObjCMethodCall; variable
218 const ObjCMethodCall &msg, in runCheckersForPreObjCMessage()
226 const ObjCMethodCall &msg,
236 const ObjCMethodCall &msg, in runCheckersForObjCMessageNil()
247 const ObjCMethodCall &msg, ExprEngine &Eng,
411 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()
151 static void _checkObjCMessage(void *checker, const ObjCMethodCall &msg, in _checkObjCMessage()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h849 class ObjCMethodCall : public CallEvent {
855 ObjCMethodCall(const ObjCMessageExpr *Msg, ProgramStateRef St, in ObjCMethodCall() function
861 ObjCMethodCall(const ObjCMethodCall &Other) : CallEvent(Other) {} in ObjCMethodCall() function
862 void cloneTo(void *Dest) const override { new (Dest) ObjCMethodCall(*this); } in cloneTo()
1018 CallEventRef<ObjCMethodCall>
1021 return create<ObjCMethodCall>(E, State, LCtx); in getObjCMethodCall()