Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp90 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() function in ObjCContainerDecl
714 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
719 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
974 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
979 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
984 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
989 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
1001 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
1021 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1024 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
[all …]
H A DASTContext.cpp524 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp3337 if (List->getMethod() == nullptr) { in addMethodToGlobalList()
3353 List->getMethod()); in addMethodToGlobalList()
3365 !isMethodContextSameForKindofLookup(Method, List->getMethod())) { in addMethodToGlobalList()
3375 !ListWithSameDeclaration && !List->getMethod()->isDeprecated()) in addMethodToGlobalList()
3380 List->getMethod()->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
3385 ObjCMethodDecl *PrevObjCMethod = List->getMethod(); in addMethodToGlobalList()
3531 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool()
3532 if (FilterMethodsByTypeBound(M->getMethod(), TypeBound)) in CollectMultipleMethodsInGlobalPool()
3533 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3547 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool()
[all …]
H A DSemaCUDA.cpp438 if (!SMOR.getMethod()) in inferTargetForImplicitSpecialMember()
442 IdentifyTarget(SMOR.getMethod(), IsExpVDtor); in inferTargetForImplicitSpecialMember()
483 if (!SMOR.getMethod()) in inferTargetForImplicitSpecialMember()
487 IdentifyTarget(SMOR.getMethod(), IsExpVDtor); in inferTargetForImplicitSpecialMember()
H A DSemaCodeComplete.cpp8122 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
8128 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
8402 MethList && MethList->getMethod(); MethList = MethList->getNext()) { in AddClassMessageCompletions()
8403 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in AddClassMessageCompletions()
8406 Result R(MethList->getMethod(), in AddClassMessageCompletions()
8407 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions()
8575 MethList && MethList->getMethod(); MethList = MethList->getNext()) { in CodeCompleteObjCInstanceMessage()
8576 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in CodeCompleteObjCInstanceMessage()
8579 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage()
8582 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage()
[all …]
H A DSemaLookup.cpp3611 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupDefaultConstructor()
3622 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupCopyingConstructor()
3631 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupMovingConstructor()
3664 return Result.getMethod(); in LookupCopyingAssignment()
3678 return Result.getMethod(); in LookupMovingAssignment()
3685 .getMethod()); in LookupDestructor()
H A DSemaDeclCXX.cpp7493 if (!SMOR.getMethod()) in specialMemberIsConstexpr()
7497 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr()
9509 CXXMethodDecl *Decl = SMOR.getMethod(); in shouldDeleteForSubobjectCall()
9667 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForBase()
10097 if (!SMOR.getMethod()) { in findTrivialSpecialMember()
10106 *Selected = SMOR.getMethod(); in findTrivialSpecialMember()
10111 return SMOR.getMethod()->isTrivialForCall(); in findTrivialSpecialMember()
10112 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember()
13919 if (auto *BaseCtor = SMOR.getMethod()) { in visitBase()
13961 if (CXXMethodDecl *MD = SMOR.getMethod()) in visitSubobjectCall()
[all …]
H A DSemaObjCProperty.cpp1428 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
1492 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
H A DSemaExprObjC.cpp1186 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1242 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList()
1640 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DObjCMethodList.h50 ObjCMethodDecl *getMethod() const { in getMethod() function
H A DSema.h9242 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp422 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
471 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h856 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument
859 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
H A DDeclObjC.h1060 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1065 return getMethod(Sel, true/*isInstance*/, AllowHidden);
1069 return getMethod(Sel, false/*isInstance*/, AllowHidden);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3624 LE.write<DeclID>((DeclID)Writer.getDeclID(Method->getMethod())); in EmitData()
3628 LE.write<DeclID>((DeclID)Writer.getDeclID(Method->getMethod())); in EmitData()
3635 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode()
3680 for (ObjCMethodList *M = &Data.Instance; M && M->getMethod(); in WriteSelectors()
3682 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3688 for (ObjCMethodList *M = &Data.Factory; M && M->getMethod(); in WriteSelectors()
3690 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3698 } else if (Data.Instance.getMethod() || Data.Factory.getMethod()) { in WriteSelectors()
H A DASTReader.cpp4553 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList()
4562 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc9960 {"_ZNK5clang17ObjCContainerDecl9getMethodENS_8SelectorEb", "clang::ObjCContainerDecl::getMethod(cla…