Home
last modified time | relevance | path

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

123

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDirectIvarAssignment.cpp43 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()
DObjCSelfInitChecker.cpp425 return MD->getMethodFamily() == OMF_init; in isInitializationMethod()
429 return Call.getMethodFamily() == OMF_init; in isInitMessage()
/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()
/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()
DTransEmptyStatementsAndDealloc.cpp212 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize()
DTransforms.cpp87 if (ME->getMethodFamily() == OMF_retain) in isPlusOne()
181 switch (ME->getMethodFamily()) { in hasSideEffects()
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()
/external/llvm-project/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp61 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()
DTransAutoreleasePool.cpp53 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()
DTransZeroOutPropsInDealloc.cpp100 if (D->getMethodFamily() != OMF_dealloc && in TraverseObjCMethodDecl()
DTransEmptyStatementsAndDealloc.cpp210 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize()
DTransforms.cpp82 if (ME->getMethodFamily() == OMF_retain) in isPlusOne()
176 switch (ME->getMethodFamily()) { in hasSideEffects()
DObjCMT.cpp1587 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/
DSuperSelfCheck.cpp35 return Node.getMethodFamily() == OMF_init; in AST_MATCHER()
/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/llvm-project/clang/lib/AST/
DDeclObjC.cpp490 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/
DSemaExprObjC.cpp1359 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/
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()
/external/llvm-project/clang/lib/Analysis/
DRetainSummaryManager.cpp1027 switch (MD ? MD->getMethodFamily() : S.getMethodFamily()) { in getStandardMethodSummary()
1042 switch (S.getMethodFamily()) { in getStandardMethodSummary()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
DRetainCountDiagnostics.cpp682 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/
DExprObjC.h1365 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/
DExprObjC.h1270 ObjCMethodFamily getMethodFamily() const {
1271 if (HasMethod) return getMethodDecl()->getMethodFamily();
1272 return getSelector().getMethodFamily();

123