/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 93 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 D | ASTContext.cpp | 491 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclObjC.cpp | 3329 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 D | SemaCUDA.cpp | 424 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 D | SemaCodeComplete.cpp | 7971 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 D | SemaLookup.cpp | 3518 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 D | SemaDeclCXX.cpp | 7336 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 D | SemaObjCProperty.cpp | 1418 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 1482 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
|
H A D | SemaExprObjC.cpp | 1191 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 D | ObjCMethodList.h | 50 ObjCMethodDecl *getMethod() const { in getMethod() function
|
H A D | Sema.h | 8963 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclObjC.h | 1062 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 D | ASTWriter.cpp | 3537 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 D | ASTReader.cpp | 4252 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList() 4261 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1708 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
|