/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCSuperDeallocChecker.cpp | 38 bool isSuperDeallocMessage(const ObjCMethodCall &M) const; 42 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 43 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 87 void ObjCSuperDeallocChecker::checkPreObjCMessage(const ObjCMethodCall &M, in checkPreObjCMessage() 119 void ObjCSuperDeallocChecker::checkPostObjCMessage(const ObjCMethodCall &M, in checkPostObjCMessage() 242 ObjCSuperDeallocChecker::isSuperDeallocMessage(const ObjCMethodCall &M) const { in isSuperDeallocMessage()
|
D | CallAndMessageChecker.cpp | 63 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()
|
D | BasicObjCFoundationChecks.cpp | 52 static StringRef GetReceiverInterfaceName(const ObjCMethodCall &msg) { in GetReceiverInterfaceName() 118 const ObjCMethodCall &msg, unsigned Arg, 129 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 150 const ObjCMethodCall &msg, in warnIfNilArg() 215 void NilArgChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage() 631 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const; 635 void ClassReleaseChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage() 688 bool isVariadicMessage(const ObjCMethodCall &msg) const; 691 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const; 698 VariadicMethodTypeChecker::isVariadicMessage(const ObjCMethodCall &msg) const { in isVariadicMessage() [all …]
|
D | CheckObjCDealloc.cpp | 116 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 118 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 133 bool diagnoseExtraRelease(SymbolRef ReleasedValue, const ObjCMethodCall &M, 137 const ObjCMethodCall &M, 140 SymbolRef getValueReleasedByNillingOut(const ObjCMethodCall &M, 159 bool isSuperDeallocMessage(const ObjCMethodCall &M) const; 336 const ObjCMethodCall &M, CheckerContext &C) const { in checkPreObjCMessage() 388 const ObjCMethodCall &M, CheckerContext &C) const { in checkPostObjCMessage() 465 auto *OMC = dyn_cast_or_null<ObjCMethodCall>(Call); in checkPointerEscape() 644 const ObjCMethodCall &M, in diagnoseExtraRelease() [all …]
|
D | CheckerDocumentation.cpp | 90 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPreObjCMessage() 96 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {} in checkPostObjCMessage() 105 void checkObjCMessageNil(const ObjCMethodCall &M, CheckerContext &C) const {} in checkObjCMessageNil()
|
D | NSAutoreleasePoolChecker.cpp | 39 void checkPreObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const; 44 void NSAutoreleasePoolChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage()
|
D | NoReturnFunctionChecker.cpp | 36 void checkPostObjCMessage(const ObjCMethodCall &msg, CheckerContext &C) const; 88 void NoReturnFunctionChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage()
|
D | ObjCSelfInitChecker.cpp | 54 static bool isInitMessage(const ObjCMethodCall &Msg); 72 void checkPostObjCMessage(const ObjCMethodCall &Msg, CheckerContext &C) const; 166 void ObjCSelfInitChecker::checkPostObjCMessage(const ObjCMethodCall &Msg, in checkPostObjCMessage() 429 static bool isInitMessage(const ObjCMethodCall &Call) { in isInitMessage()
|
D | DynamicTypePropagation.cpp | 107 void checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 108 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 204 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in checkPostCall() 706 void DynamicTypePropagation::checkPreObjCMessage(const ObjCMethodCall &M, in checkPreObjCMessage() 785 void DynamicTypePropagation::checkPostObjCMessage(const ObjCMethodCall &M, in checkPostObjCMessage()
|
D | LocalizationChecker.cpp | 84 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; 678 SVal S, const ObjCMethodCall &M, CheckerContext &C, in reportLocalizationError() 730 void NonLocalizedStringChecker::checkPreObjCMessage(const ObjCMethodCall &msg, in checkPreObjCMessage() 868 void NonLocalizedStringChecker::checkPostObjCMessage(const ObjCMethodCall &msg, in checkPostObjCMessage()
|
D | RetainCountChecker.cpp | 762 const RetainSummary *getInstanceMethodSummary(const ObjCMethodCall &M, 765 const RetainSummary *getClassMethodSummary(const ObjCMethodCall &M) { in getClassMethodSummary() 976 if (const ObjCMethodCall *MC = dyn_cast<ObjCMethodCall>(&Call)) { in updateSummaryForCall() 1010 const ObjCMethodCall &Msg = cast<ObjCMethodCall>(Call); in getSummary() 1498 RetainSummaryManager::getInstanceMethodSummary(const ObjCMethodCall &Msg, in getInstanceMethodSummary() 1964 CallEventRef<ObjCMethodCall> Call in VisitNode() 2948 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in processSummaryOfInlined() 3033 const ObjCMethodCall *MsgInvocation = dyn_cast<ObjCMethodCall>(&CallOrMsg); in checkSummary()
|
D | NullabilityChecker.cpp | 114 void checkPostObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const; 810 static Nullability getReceiverNullability(const ObjCMethodCall &M, in getReceiverNullability() 842 void NullabilityChecker::checkPostObjCMessage(const ObjCMethodCall &M, in checkPostObjCMessage()
|
D | MallocChecker.cpp | 205 void checkPostObjCMessage(const ObjCMethodCall &Call, CheckerContext &C) const; 1007 static bool isKnownDeallocObjCMethodName(const ObjCMethodCall &Call) { in isKnownDeallocObjCMethodName() 1019 static Optional<bool> getFreeWhenDoneArg(const ObjCMethodCall &Call) { in getFreeWhenDoneArg() 1030 void MallocChecker::checkPostObjCMessage(const ObjCMethodCall &Call, in checkPostObjCMessage() 2394 if (!(isa<SimpleFunctionCall>(Call) || isa<ObjCMethodCall>(Call))) in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() 2398 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 674 ArrayRef<ParmVarDecl*> ObjCMethodCall::parameters() const { in parameters() 681 void ObjCMethodCall::getExtraInvalidatedValues( in getExtraInvalidatedValues() 704 SVal ObjCMethodCall::getSelfSVal() const { in getSelfSVal() 712 SVal ObjCMethodCall::getReceiverSVal() const { in getReceiverSVal() 728 bool ObjCMethodCall::isReceiverSelfOrSuper() const { in isReceiverSelfOrSuper() 741 SourceRange ObjCMethodCall::getSourceRange() const { in getSourceRange() 754 const PseudoObjectExpr *ObjCMethodCall::getContainingPseudoObjectExpr() const { in getContainingPseudoObjectExpr() 772 ObjCMessageKind ObjCMethodCall::getMessageKind() const { in getMessageKind() 798 const_cast<ObjCMethodCall *>(this)->Data in getMessageKind() 805 const_cast<ObjCMethodCall *>(this)->Data in getMessageKind() [all …]
|
D | ExprEngineObjC.cpp | 139 CallEventRef<ObjCMethodCall> Msg = in VisitObjCMessage() 228 CallEventRef<ObjCMethodCall> UpdatedMsg = Msg.cloneWithState(State); in VisitObjCMessage()
|
D | ExprEngineCallAndReturn.cpp | 339 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(Call)) { in processCallExit() 531 if (const ObjCMethodCall *Msg = dyn_cast<ObjCMethodCall>(&Call)) { in bindReturnValue()
|
D | CheckerManager.cpp | 184 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()
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
D | CheckerManager.h | 38 class ObjCMethodCall; variable 217 const ObjCMethodCall &msg, in runCheckersForPreObjCMessage() 225 const ObjCMethodCall &msg, 235 const ObjCMethodCall &msg, in runCheckersForObjCMessageNil() 246 const ObjCMethodCall &msg, ExprEngine &Eng, 416 typedef CheckerFn<void (const ObjCMethodCall &, CheckerContext &)>
|
D | Checker.h | 121 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/ |
D | CallEvent.h | 881 class ObjCMethodCall : public CallEvent { 887 ObjCMethodCall(const ObjCMessageExpr *Msg, ProgramStateRef St, in ObjCMethodCall() function 893 ObjCMethodCall(const ObjCMethodCall &Other) : CallEvent(Other) {} in ObjCMethodCall() function 894 void cloneTo(void *Dest) const override { new (Dest) ObjCMethodCall(*this); } in cloneTo() 1055 CallEventRef<ObjCMethodCall> 1058 return create<ObjCMethodCall>(E, State, LCtx); in getObjCMethodCall()
|