Home
last modified time | relevance | path

Searched refs:getMethodFamily (Results 1 – 25 of 35) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DDirectIvarAssignment.cpp44 return M->getMethodFamily() == OMF_init || in DefaultMethodFilter()
45 M->getMethodFamily() == OMF_dealloc || in DefaultMethodFilter()
46 M->getMethodFamily() == OMF_copy || in DefaultMethodFilter()
47 M->getMethodFamily() == OMF_mutableCopy || in DefaultMethodFilter()
DObjCSelfInitChecker.cpp426 return MD->getMethodFamily() == OMF_init; in isInitializationMethod()
430 return Call.getMethodFamily() == OMF_init; in isInitMessage()
DRetainCountChecker.cpp977 if (MC->getMethodFamily() == OMF_init && MC->isReceiverSelfOrSuper()) { in updateSummaryForCall()
1409 switch (MD ? MD->getMethodFamily() : S.getMethodFamily()) { in getStandardMethodSummary()
1424 switch (S.getMethodFamily()) { in getStandardMethodSummary()
2266 if (ME->getMethodFamily() == OMF_init && RecV.getAsSymbol() == Sym) in GetAllocationSite()
2282 if (ME->getMethodFamily() == OMF_alloc) in GetAllocationSite()
DDynamicTypePropagation.cpp215 switch (Msg->getMethodFamily()) { in checkPostCall()
DNullabilityChecker.cpp579 ObjCMethodFamily Family = MD->getMethodFamily(); in checkPreStmt()
DBasicObjCFoundationChecks.cpp1238 M.getDecl()->getMethodFamily() == OMF_init && in checkPostObjCMessage()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp62 switch (E->getMethodFamily()) { in VisitObjCMessageExpr()
87 (E->getMethodFamily() != OMF_retain || isRemovable(E))) { in VisitObjCMessageExpr()
96 (E->getMethodFamily() != OMF_retain || isRemovable(E))) { in VisitObjCMessageExpr()
104 if (E->getMethodFamily() == OMF_release && isDelegateMessage(rec)) { in VisitObjCMessageExpr()
142 if (Msg->getMethodFamily() == OMF_release && in VisitObjCMessageExpr()
291 switch (ME->getMethodFamily()) { in getReferencedDecl()
DTransAutoreleasePool.cpp54 if (E->getMethodFamily() != OMF_release) in VisitObjCMessageExpr()
355 if (ME->getMethodFamily() == OMF_new && in isPoolCreation()
360 ME->getMethodFamily() == OMF_init) { in isPoolCreation()
363 if (recME->getMethodFamily() == OMF_alloc && in isPoolCreation()
382 return ME->getMethodFamily() == OMF_release || in isPoolDrain()
DTransZeroOutPropsInDealloc.cpp101 if (D->getMethodFamily() != OMF_dealloc && in TraverseObjCMethodDecl()
DTransforms.cpp87 if (ME->getMethodFamily() == OMF_retain) in isPlusOne()
181 switch (ME->getMethodFamily()) { in hasSideEffects()
DTransEmptyStatementsAndDealloc.cpp212 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize()
DObjCMT.cpp1595 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations()
1647 MethodDecl->getMethodFamily() != OMF_init && in migrateAddMethodAnnotation()
1648 MethodDecl->getMethodFamily() != OMF_release && in migrateAddMethodAnnotation()
1695 if (E->getMethodFamily() == OMF_init) in VisitObjCMessageExpr()
1719 MD->getMethodFamily() != OMF_init || in inferDesignatedInitializers()
DTransUnbridgedCasts.cpp412 return ME->getMethodFamily(); in getFamilyOfMessage()
/external/clang/lib/AST/
DDeclObjC.cpp467 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
472 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
478 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
768 return getMethodFamily() == OMF_init && in isThisDeclarationADesignatedInitializer()
774 if (getMethodFamily() != OMF_init) in isDesignatedInitializerForTheInterface()
913 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily() function in ObjCMethodDecl
934 family = getSelector().getMethodFamily(); in getMethodFamily()
1035 if (getMethodFamily() != OMF_init && !selfIsConsumed) { in getSelfType()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1187 switch (Sel.getMethodFamily()) { in ParseObjCSelectorExpression()
1462 if (ObjCMethodFamily family = MD->getMethodFamily()) in EmitRelatedResultTypeNoteForReturn()
2425 if (Method && Method->getMethodFamily() == OMF_initialize) { in BuildClassMessage()
2437 if (CurMeth->getMethodFamily() != OMF_initialize) { in BuildClassMessage()
2825 (Method && Method->getMethodFamily() == OMF_init) in BuildInstanceMessage()
2892 (Method ? Method->getMethodFamily() : Sel.getMethodFamily()); in BuildInstanceMessage()
2929 ObjCMethodFamily SelFamily = SelMethod->getMethodFamily(); in BuildInstanceMessage()
2989 if (Result->getMethodFamily() == OMF_init && in BuildInstanceMessage()
2994 if (method && method->getMethodFamily() == OMF_init) { in BuildInstanceMessage()
3349 switch (method->getSelector().getMethodFamily()) { in checkCallToMethod()
DSemaDeclObjC.cpp150 if (ObjCMethodFamily Family = Overridden->getMethodFamily()) in CheckObjCMethodOverride()
195 ObjCMethodFamily family = method->getMethodFamily(); in CheckARCMethodDecl()
339 switch (MDecl->getMethodFamily()) { in ActOnStartOfObjCMethodDef()
392 if (MDecl->getMethodFamily() == OMF_init) { in ActOnStartOfObjCMethodDef()
408 ObjCMethodFamily Family = MDecl->getMethodFamily(); in ActOnStartOfObjCMethodDef()
2396 ObjCMethodFamily implFamily = impl->getMethodFamily(); in checkMethodFamilyMismatch()
2397 ObjCMethodFamily declFamily = decl->getMethodFamily(); in checkMethodFamilyMismatch()
4420 ObjCMethod->getSelector().getMethodFamily() == OMF_dealloc) { in ActOnMethodDeclaration()
4467 switch (ObjCMethod->getMethodFamily()) { in ActOnMethodDeclaration()
DSemaObjCProperty.cpp1287 switch (getterMethod->getMethodFamily()) { in ActOnPropertyImplDecl()
2049 ObjCMethodFamily family = method->getMethodFamily(); in DiagnoseOwningPropertyGetterSynthesis()
2104 if (I->getMethodFamily() == OMF_init) in DiagnoseMissingDesignatedInitOverrides()
/external/clang/include/clang/AST/
DExprObjC.h1270 ObjCMethodFamily getMethodFamily() const {
1271 if (HasMethod) return getMethodDecl()->getMethodFamily();
1272 return getSelector().getMethodFamily();
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h920 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function
921 return getOriginExpr()->getMethodFamily(); in getMethodFamily()
/external/clang/lib/Index/
DIndexBody.cpp171 if (RecE->getMethodFamily() == OMF_alloc) in VisitObjCMessageExpr()
/external/clang/include/clang/Basic/
DIdentifierTable.h735 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp449 if (ObjCM->getMethodFamily() != OMF_init) in getInliningModeForFunction()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCallAndReturn.cpp532 switch (Msg->getMethodFamily()) { in bindReturnValue()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp46 if (Rec->getMethodFamily() == OMF_alloc) in checkForLiteralCreation()
/external/clang/tools/libclang/
DCXCursor.cpp1490 if (RecE->getMethodFamily() == OMF_alloc) in clang_Cursor_isDynamicCall()

12