| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 90 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 D | ASTContext.cpp | 524 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 3337 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 D | SemaCUDA.cpp | 438 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 D | SemaCodeComplete.cpp | 8122 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 D | SemaLookup.cpp | 3611 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 D | SemaDeclCXX.cpp | 7493 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 D | SemaObjCProperty.cpp | 1428 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 1492 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
|
| H A D | SemaExprObjC.cpp | 1186 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 D | ObjCMethodList.h | 50 ObjCMethodDecl *getMethod() const { in getMethod() function
|
| H A D | Sema.h | 9242 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 422 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 D | ExprObjC.h | 856 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument 859 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
|
| H A D | DeclObjC.h | 1060 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 D | ASTWriter.cpp | 3624 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 D | ASTReader.cpp | 4553 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList() 4562 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/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 9960 {"_ZNK5clang17ObjCContainerDecl9getMethodENS_8SelectorEb", "clang::ObjCContainerDecl::getMethod(cla…
|