Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A 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()
H A DObjCSelfInitChecker.cpp423 return MD->getMethodFamily() == OMF_init; in isInitializationMethod()
427 return Call.getMethodFamily() == OMF_init; in isInitMessage()
H A DDynamicTypePropagation.cpp317 switch (Msg->getMethodFamily()) { in checkPostCall()
H A DBasicObjCFoundationChecks.cpp1208 M.getDecl()->getMethodFamily() == OMF_init && in checkPostObjCMessage()
H A DNullabilityChecker.cpp681 ObjCMethodFamily Family = MD->getMethodFamily(); in checkPreStmt()
/freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/
H A 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()
H A DTransAutoreleasePool.cpp53 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()
H A DTransZeroOutPropsInDealloc.cpp100 if (D->getMethodFamily() != OMF_dealloc && in TraverseObjCMethodDecl()
H A DTransEmptyStatementsAndDealloc.cpp210 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize()
H A DTransforms.cpp83 if (ME->getMethodFamily() == OMF_retain) in isPlusOne()
175 switch (ME->getMethodFamily()) { in hasSideEffects()
H A DObjCMT.cpp1579 ObjCMethodFamily OMF = MethodDecl->getMethodFamily(); in AddCFAnnotations()
1635 MethodDecl->getMethodFamily() != OMF_init && in migrateAddMethodAnnotation()
1636 MethodDecl->getMethodFamily() != OMF_release && in migrateAddMethodAnnotation()
1681 if (E->getMethodFamily() == OMF_init) in VisitObjCMessageExpr()
1705 MD->getMethodFamily() != OMF_init || in inferDesignatedInitializers()
H A DTransUnbridgedCasts.cpp409 return ME->getMethodFamily(); in getFamilyOfMessage()
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp498 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
503 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
509 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers()
877 return getMethodFamily() == OMF_init && in isThisDeclarationADesignatedInitializer()
891 if (getMethodFamily() != OMF_init) in isDesignatedInitializerForTheInterface()
1053 ObjCMethodFamily ObjCMethodDecl::getMethodFamily() const { in getMethodFamily() function in ObjCMethodDecl
1074 family = getSelector().getMethodFamily(); in getMethodFamily()
1175 if (getMethodFamily() != OMF_init && !selfIsConsumed) { in getSelfType()
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp1370 switch (Sel.getMethodFamily()) { in ParseObjCSelectorExpression()
1692 if (ObjCMethodFamily family = MD->getMethodFamily()) in EmitRelatedResultTypeNote()
2511 if (Method->getSelector().getMethodFamily() != OMF_performSelector || in checkFoundationAPI()
2720 if (Method && Method->getMethodFamily() == OMF_initialize) { in BuildClassMessage()
2731 if (CurMeth->getMethodFamily() != OMF_initialize) { in BuildClassMessage()
3142 (Method && Method->getMethodFamily() == OMF_init) in BuildInstanceMessage()
3255 (Method ? Method->getMethodFamily() : Sel.getMethodFamily()); in BuildInstanceMessage()
3294 ObjCMethodFamily SelFamily = SelMethod->getMethodFamily(); in BuildInstanceMessage()
3371 if (Result->getMethodFamily() in BuildInstanceMessage()
[all...]
H A DSemaDeclObjC.cpp180 if (ObjCMethodFamily Family = Overridden->getMethodFamily()) in CheckObjCMethodOverride()
233 ObjCMethodFamily family = method->getMethodFamily(); in CheckARCMethodDecl()
419 switch (MDecl->getMethodFamily()) { in ActOnStartOfObjCMethodDef()
470 if (MDecl->getMethodFamily() == OMF_init) { in ActOnStartOfObjCMethodDef()
486 ObjCMethodFamily Family = MDecl->getMethodFamily(); in ActOnStartOfObjCMethodDef()
2518 ObjCMethodFamily implFamily = impl->getMethodFamily(); in checkMethodFamilyMismatch()
2519 ObjCMethodFamily declFamily = decl->getMethodFamily(); in checkMethodFamilyMismatch()
4961 ObjCMethod->getSelector().getMethodFamily() == OMF_dealloc) { in ActOnMethodDeclaration()
5040 switch (ObjCMethod->getMethodFamily()) { in ActOnMethodDeclaration()
H A DSemaObjCProperty.cpp1045 ImplDecl->getMethodFamily();
1464 switch (getterMethod->getMethodFamily()) { in ActOnPropertyImplDecl()
2253 ObjCMethodFamily family = method->getMethodFamily(); in AtomicPropertySetterGetterRules()
2307 if (I->getMethodFamily() == OMF_init) in DiagnoseOwningPropertyGetterSynthesis()
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp1029 switch (MD ? MD->getMethodFamily() : S.getMethodFamily()) { in getStandardMethodSummary()
1044 switch (S.getMethodFamily()) { in getStandardMethodSummary()
H A DCalledOnceCheck.cpp1017 return MethodSelector.getMethodFamily() == OMF_init; in isInitMethod()
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h1375 ObjCMethodFamily getMethodFamily() const { in getMethodFamily() function
1376 if (HasMethod) return getMethodDecl()->getMethodFamily(); in getMethodFamily()
1377 return getSelector().getMethodFamily(); in getMethodFamily()
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp719 if (ME->getMethodFamily() == OMF_init && RecV.getAsSymbol() == Sym) in GetAllocationSite()
735 if (ME->getMethodFamily() == OMF_alloc) in GetAllocationSite()
/freebsd-src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1287 ObjCMethodFamily getMethodFamily() const {
1288 return getOriginExpr()->getMethodFamily();
1215 ObjCMethodFamily getMethodFamily() const { getMethodFamily() function
/freebsd-src/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp240 if (RecE->getMethodFamily() == OMF_alloc) in VisitObjCMessageExpr()
/freebsd-src/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h1101 ObjCMethodFamily getMethodFamily() const {
1075 ObjCMethodFamily getMethodFamily() const { getMethodFamily() function
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp431 if (ObjCM->getMethodFamily() != OMF_init) in getInliningModeForFunction()
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp749 switch (Msg->getMethodFamily()) { in bindReturnValue()

12