Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DDirectIvarAssignment.cpp44 if (M->getMethodFamily() == OMF_init || M->getMethodFamily() == OMF_dealloc || in DefaultMethodFilter()
45 M->getMethodFamily() == OMF_copy || in DefaultMethodFilter()
46 M->getMethodFamily() == OMF_mutableCopy || in DefaultMethodFilter()
DObjCSelfInitChecker.cpp429 return MD->getMethodFamily() == OMF_init; in isInitializationMethod()
433 return Call.getMethodFamily() == OMF_init; in isInitMessage()
DRetainCountChecker.cpp976 if (MC->getMethodFamily() == OMF_init && MC->isReceiverSelfOrSuper()) { in updateSummaryForCall()
1408 switch (MD ? MD->getMethodFamily() : S.getMethodFamily()) { in getStandardMethodSummary()
1423 switch (S.getMethodFamily()) { in getStandardMethodSummary()
2265 if (ME->getMethodFamily() == OMF_init && RecV.getAsSymbol() == Sym) in GetAllocationSite()
2281 if (ME->getMethodFamily() == OMF_alloc) in GetAllocationSite()
DDynamicTypePropagation.cpp215 switch (Msg->getMethodFamily()) { in checkPostCall()
DBasicObjCFoundationChecks.cpp1247 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.cpp1596 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations()
1648 MethodDecl->getMethodFamily() != OMF_init && in migrateAddMethodAnnotation()
1649 MethodDecl->getMethodFamily() != OMF_release && in migrateAddMethodAnnotation()
1697 if (E->getMethodFamily() == OMF_init) in VisitObjCMessageExpr()
1721 MD->getMethodFamily() != OMF_init || in inferDesignatedInitializers()
DTransUnbridgedCasts.cpp412 return ME->getMethodFamily(); in getFamilyOfMessage()
/external/clang/lib/AST/
DDeclObjC.cpp439 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
444 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
450 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
740 return getMethodFamily() == OMF_init && in isThisDeclarationADesignatedInitializer()
746 if (getMethodFamily() != OMF_init) in isDesignatedInitializerForTheInterface()
881 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily() function in ObjCMethodDecl
902 family = getSelector().getMethodFamily(); in getMethodFamily()
1003 if (getMethodFamily() != OMF_init && !selfIsConsumed) { in getSelfType()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1190 switch (Sel.getMethodFamily()) { in ParseObjCSelectorExpression()
1465 if (ObjCMethodFamily family = MD->getMethodFamily()) in EmitRelatedResultTypeNoteForReturn()
2412 if (Method && Method->getMethodFamily() == OMF_initialize) { in BuildClassMessage()
2424 if (CurMeth->getMethodFamily() != OMF_initialize) { in BuildClassMessage()
2798 (Method && Method->getMethodFamily() == OMF_init) in BuildInstanceMessage()
2865 (Method ? Method->getMethodFamily() : Sel.getMethodFamily()); in BuildInstanceMessage()
2902 ObjCMethodFamily SelFamily = SelMethod->getMethodFamily(); in BuildInstanceMessage()
2962 if (Result->getMethodFamily() == OMF_init && in BuildInstanceMessage()
2967 if (method && method->getMethodFamily() == OMF_init) { in BuildInstanceMessage()
3320 switch (method->getSelector().getMethodFamily()) { in checkCallToMethod()
DSemaDeclObjC.cpp151 if (ObjCMethodFamily Family = Overridden->getMethodFamily()) in CheckObjCMethodOverride()
196 ObjCMethodFamily family = method->getMethodFamily(); in CheckARCMethodDecl()
340 switch (MDecl->getMethodFamily()) { in ActOnStartOfObjCMethodDef()
393 if (MDecl->getMethodFamily() == OMF_init) { in ActOnStartOfObjCMethodDef()
409 ObjCMethodFamily Family = MDecl->getMethodFamily(); in ActOnStartOfObjCMethodDef()
2371 ObjCMethodFamily implFamily = impl->getMethodFamily(); in checkMethodFamilyMismatch()
2372 ObjCMethodFamily declFamily = decl->getMethodFamily(); in checkMethodFamilyMismatch()
4271 ObjCMethod->getSelector().getMethodFamily() == OMF_dealloc) { in ActOnMethodDeclaration()
4318 switch (ObjCMethod->getMethodFamily()) { in ActOnMethodDeclaration()
DSemaObjCProperty.cpp1272 switch (getterMethod->getMethodFamily()) { in ActOnPropertyImplDecl()
1988 ObjCMethodFamily family = method->getMethodFamily(); in DiagnoseOwningPropertyGetterSynthesis()
2043 if (I->getMethodFamily() == OMF_init) in DiagnoseMissingDesignatedInitOverrides()
DSemaExprMember.cpp1415 ObjCMethodFamily MF = MD->getMethodFamily(); in LookupMemberExpr()
/external/clang/include/clang/AST/
DExprObjC.h1277 ObjCMethodFamily getMethodFamily() const {
1278 if (HasMethod) return getMethodDecl()->getMethodFamily();
1279 return getSelector().getMethodFamily();
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h888 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function
889 return getOriginExpr()->getMethodFamily(); in getMethodFamily()
/external/clang/include/clang/Basic/
DIdentifierTable.h720 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp450 if (ObjCM->getMethodFamily() != OMF_init) in getInliningModeForFunction()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCallAndReturn.cpp545 switch (Msg->getMethodFamily()) { in bindReturnValue()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp46 if (Rec->getMethodFamily() == OMF_alloc) in checkForLiteralCreation()
/external/clang/tools/libclang/
DCXCursor.cpp1462 if (RecE->getMethodFamily() == OMF_alloc) in clang_Cursor_isDynamicCall()
/external/clang/lib/CodeGen/
DCGDecl.cpp1805 assert(method->getMethodFamily() != OMF_init); in EmitParmDecl()

12