/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DirectIvarAssignment.cpp | 44 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()
|
D | ObjCSelfInitChecker.cpp | 429 return MD->getMethodFamily() == OMF_init; in isInitializationMethod() 433 return Call.getMethodFamily() == OMF_init; in isInitMessage()
|
D | RetainCountChecker.cpp | 976 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()
|
D | DynamicTypePropagation.cpp | 215 switch (Msg->getMethodFamily()) { in checkPostCall()
|
D | BasicObjCFoundationChecks.cpp | 1247 M.getDecl()->getMethodFamily() == OMF_init && in checkPostObjCMessage()
|
/external/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 62 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()
|
D | TransAutoreleasePool.cpp | 54 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()
|
D | TransZeroOutPropsInDealloc.cpp | 101 if (D->getMethodFamily() != OMF_dealloc && in TraverseObjCMethodDecl()
|
D | Transforms.cpp | 87 if (ME->getMethodFamily() == OMF_retain) in isPlusOne() 181 switch (ME->getMethodFamily()) { in hasSideEffects()
|
D | TransEmptyStatementsAndDealloc.cpp | 212 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize()
|
D | ObjCMT.cpp | 1596 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()
|
D | TransUnbridgedCasts.cpp | 412 return ME->getMethodFamily(); in getFamilyOfMessage()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 439 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/ |
D | SemaExprObjC.cpp | 1190 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()
|
D | SemaDeclObjC.cpp | 151 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()
|
D | SemaObjCProperty.cpp | 1272 switch (getterMethod->getMethodFamily()) { in ActOnPropertyImplDecl() 1988 ObjCMethodFamily family = method->getMethodFamily(); in DiagnoseOwningPropertyGetterSynthesis() 2043 if (I->getMethodFamily() == OMF_init) in DiagnoseMissingDesignatedInitOverrides()
|
D | SemaExprMember.cpp | 1415 ObjCMethodFamily MF = MD->getMethodFamily(); in LookupMemberExpr()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 1277 ObjCMethodFamily getMethodFamily() const { 1278 if (HasMethod) return getMethodDecl()->getMethodFamily(); 1279 return getSelector().getMethodFamily();
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CallEvent.h | 888 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function 889 return getOriginExpr()->getMethodFamily(); in getMethodFamily()
|
/external/clang/include/clang/Basic/ |
D | IdentifierTable.h | 720 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 450 if (ObjCM->getMethodFamily() != OMF_init) in getInliningModeForFunction()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCallAndReturn.cpp | 545 switch (Msg->getMethodFamily()) { in bindReturnValue()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 46 if (Rec->getMethodFamily() == OMF_alloc) in checkForLiteralCreation()
|
/external/clang/tools/libclang/ |
D | CXCursor.cpp | 1462 if (RecE->getMethodFamily() == OMF_alloc) in clang_Cursor_isDynamicCall()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 1805 assert(method->getMethodFamily() != OMF_init); in EmitParmDecl()
|