Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp93 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() function in ObjCContainerDecl
717 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
722 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
977 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
982 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
987 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
992 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
1004 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
1024 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1027 if (ObjCMethodDecl *MD = Ext->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
[all …]
H A DASTContext.cpp491 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp3329 if (List->getMethod() == nullptr) { in addMethodToGlobalList()
3345 List->getMethod()); in addMethodToGlobalList()
3357 !isMethodContextSameForKindofLookup(Method, List->getMethod())) { in addMethodToGlobalList()
3367 !ListWithSameDeclaration && !List->getMethod()->isDeprecated()) in addMethodToGlobalList()
3372 List->getMethod()->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
3377 ObjCMethodDecl *PrevObjCMethod = List->getMethod(); in addMethodToGlobalList()
3528 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool()
3529 if (FilterMethodsByTypeBound(M->getMethod(), TypeBound)) in CollectMultipleMethodsInGlobalPool()
3530 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
3544 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool()
[all …]
H A DSemaCUDA.cpp424 if (!SMOR.getMethod()) in inferTargetForImplicitSpecialMember()
427 CUDAFunctionTarget BaseMethodTarget = IdentifyTarget(SMOR.getMethod()); in inferTargetForImplicitSpecialMember()
468 if (!SMOR.getMethod()) in inferTargetForImplicitSpecialMember()
471 CUDAFunctionTarget FieldMethodTarget = IdentifyTarget(SMOR.getMethod()); in inferTargetForImplicitSpecialMember()
H A DSemaCodeComplete.cpp7971 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
7977 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
8252 MethList && MethList->getMethod(); MethList = MethList->getNext()) { in AddClassMessageCompletions()
8253 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in AddClassMessageCompletions()
8256 Result R(MethList->getMethod(), in AddClassMessageCompletions()
8257 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions()
8427 MethList && MethList->getMethod(); MethList = MethList->getNext()) { in CodeCompleteObjCInstanceMessage()
8428 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in CodeCompleteObjCInstanceMessage()
8431 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage()
8434 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage()
[all …]
H A DSemaLookup.cpp3518 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupDefaultConstructor()
3529 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupCopyingConstructor()
3538 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupMovingConstructor()
3571 return Result.getMethod(); in LookupCopyingAssignment()
3585 return Result.getMethod(); in LookupMovingAssignment()
3592 .getMethod()); in LookupDestructor()
H A DSemaDeclCXX.cpp7336 if (!SMOR.getMethod()) in specialMemberIsConstexpr()
7340 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr()
9328 CXXMethodDecl *Decl = SMOR.getMethod(); in shouldDeleteForSubobjectCall()
9464 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForBase()
9884 if (!SMOR.getMethod()) { in findTrivialSpecialMember()
9893 *Selected = SMOR.getMethod(); in findTrivialSpecialMember()
9898 return SMOR.getMethod()->isTrivialForCall(); in findTrivialSpecialMember()
9899 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember()
13627 if (auto *BaseCtor = SMOR.getMethod()) { in visitBase()
13669 if (CXXMethodDecl *MD = SMOR.getMethod()) in visitSubobjectCall()
[all...]
H A DSemaObjCProperty.cpp1418 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
1482 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
H A DSemaExprObjC.cpp1191 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1247 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList()
1653 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.h8963 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h1062 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1067 return getMethod(Sel, true/*isInstance*/, AllowHidden);
1071 return getMethod(Sel, false/*isInstance*/, AllowHidden);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3537 LE.write<DeclID>((DeclID)Writer.getDeclID(Method->getMethod())); in EmitData()
3541 LE.write<DeclID>((DeclID)Writer.getDeclID(Method->getMethod())); in EmitData()
3548 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode()
3593 for (ObjCMethodList *M = &Data.Instance; M && M->getMethod(); in WriteSelectors()
3595 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3601 for (ObjCMethodList *M = &Data.Factory; M && M->getMethod(); in WriteSelectors()
3603 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3611 } else if (Data.Instance.getMethod() || Data.Factory.getMethod()) { in WriteSelectors()
H A DASTReader.cpp4252 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList()
4261 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/clang/lib/ARCMigrate/
H A DObjCMT.cpp1708 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()