/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | DirectIvarAssignment.cpp | 43 return M->getMethodFamily() == OMF_init || in DefaultMethodFilter() 44 M->getMethodFamily() == OMF_dealloc || in DefaultMethodFilter() 45 M->getMethodFamily() == OMF_copy || in DefaultMethodFilter() 46 M->getMethodFamily() == OMF_mutableCopy || in DefaultMethodFilter()
|
D | ObjCSelfInitChecker.cpp | 425 return MD->getMethodFamily() == OMF_init; in isInitializationMethod() 429 return Call.getMethodFamily() == OMF_init; in isInitMessage()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DirectIvarAssignment.cpp | 44 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()
|
D | ObjCSelfInitChecker.cpp | 426 return MD->getMethodFamily() == OMF_init; in isInitializationMethod() 430 return Call.getMethodFamily() == OMF_init; in isInitMessage()
|
/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 | TransEmptyStatementsAndDealloc.cpp | 212 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize()
|
D | Transforms.cpp | 87 if (ME->getMethodFamily() == OMF_retain) in isPlusOne() 181 switch (ME->getMethodFamily()) { in hasSideEffects()
|
D | ObjCMT.cpp | 1595 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()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 61 switch (E->getMethodFamily()) { in VisitObjCMessageExpr() 88 (E->getMethodFamily() != OMF_retain || isRemovable(E))) { in VisitObjCMessageExpr() 97 (E->getMethodFamily() != OMF_retain || isRemovable(E))) { in VisitObjCMessageExpr() 105 if (E->getMethodFamily() == OMF_release && isDelegateMessage(rec)) { in VisitObjCMessageExpr() 146 if (Msg->getMethodFamily() == OMF_release && in VisitObjCMessageExpr() 295 switch (ME->getMethodFamily()) { in getReferencedDecl()
|
D | TransAutoreleasePool.cpp | 53 if (E->getMethodFamily() != OMF_release) in VisitObjCMessageExpr() 354 if (ME->getMethodFamily() == OMF_new && in isPoolCreation() 359 ME->getMethodFamily() == OMF_init) { in isPoolCreation() 362 if (recME->getMethodFamily() == OMF_alloc && in isPoolCreation() 381 return ME->getMethodFamily() == OMF_release || in isPoolDrain()
|
D | TransZeroOutPropsInDealloc.cpp | 100 if (D->getMethodFamily() != OMF_dealloc && in TraverseObjCMethodDecl()
|
D | TransEmptyStatementsAndDealloc.cpp | 210 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize()
|
D | Transforms.cpp | 82 if (ME->getMethodFamily() == OMF_retain) in isPlusOne() 176 switch (ME->getMethodFamily()) { in hasSideEffects()
|
D | ObjCMT.cpp | 1587 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations() 1643 MethodDecl->getMethodFamily() != OMF_init && in migrateAddMethodAnnotation() 1644 MethodDecl->getMethodFamily() != OMF_release && in migrateAddMethodAnnotation() 1689 if (E->getMethodFamily() == OMF_init) in VisitObjCMessageExpr() 1713 MD->getMethodFamily() != OMF_init || in inferDesignatedInitializers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/objc/ |
D | SuperSelfCheck.cpp | 35 return Node.getMethodFamily() == OMF_init; in AST_MATCHER()
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 467 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/llvm-project/clang/lib/AST/ |
D | DeclObjC.cpp | 490 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers() 495 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers() 501 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers() 833 return getMethodFamily() == OMF_init && in isThisDeclarationADesignatedInitializer() 847 if (getMethodFamily() != OMF_init) in isDesignatedInitializerForTheInterface() 1001 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily() function in ObjCMethodDecl 1022 family = getSelector().getMethodFamily(); in getMethodFamily() 1123 if (getMethodFamily() != OMF_init && !selfIsConsumed) { in getSelfType()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 1359 switch (Sel.getMethodFamily()) { in ParseObjCSelectorExpression() 1680 if (ObjCMethodFamily family = MD->getMethodFamily()) in EmitRelatedResultTypeNoteForReturn() 2498 if (Method->getSelector().getMethodFamily() != OMF_performSelector || in checkFoundationAPI() 2710 if (Method && Method->getMethodFamily() == OMF_initialize) { in BuildClassMessage() 2722 if (CurMeth->getMethodFamily() != OMF_initialize) { in BuildClassMessage() 3136 (Method && Method->getMethodFamily() == OMF_init) in BuildInstanceMessage() 3246 (Method ? Method->getMethodFamily() : Sel.getMethodFamily()); in BuildInstanceMessage() 3285 ObjCMethodFamily SelFamily = SelMethod->getMethodFamily(); in BuildInstanceMessage() 3364 if (Result->getMethodFamily() == OMF_init && in BuildInstanceMessage() 3369 if (method && method->getMethodFamily() == OMF_init) { in BuildInstanceMessage() [all …]
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 1187 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()
|
/external/llvm-project/clang/lib/Analysis/ |
D | RetainSummaryManager.cpp | 1027 switch (MD ? MD->getMethodFamily() : S.getMethodFamily()) { in getStandardMethodSummary() 1042 switch (S.getMethodFamily()) { in getStandardMethodSummary()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
D | RetainCountDiagnostics.cpp | 682 if (ME->getMethodFamily() == OMF_init && RecV.getAsSymbol() == Sym) in GetAllocationSite() 698 if (ME->getMethodFamily() == OMF_alloc) in GetAllocationSite()
|
/external/llvm-project/clang/include/clang/AST/ |
D | ExprObjC.h | 1365 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function 1366 if (HasMethod) return getMethodDecl()->getMethodFamily(); in getMethodFamily() 1367 return getSelector().getMethodFamily(); in getMethodFamily()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 1270 ObjCMethodFamily getMethodFamily() const { 1271 if (HasMethod) return getMethodDecl()->getMethodFamily(); 1272 return getSelector().getMethodFamily();
|