| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() function in ObjCContainerDecl 718 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod() 723 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() 1267 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() 1284 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() [all …]
|
| H A D | ASTContext.cpp | 488 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 3526 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool() 3542 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool() 3589 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) in LookupMethodInGlobalPool() 3590 return M->getMethod(); in LookupMethodInGlobalPool() 3657 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool() 3660 return Method->getMethod(); in LookupImplementedMethodInGlobalPool() 3664 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool() 3667 return Method->getMethod(); in LookupImplementedMethodInGlobalPool() 3730 if (M->getMethod() && in SelectorsForTypoCorrection() 3742 if (M->getMethod() && in SelectorsForTypoCorrection() [all …]
|
| H A D | SemaCUDA.cpp | 412 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember() 415 CUDAFunctionTarget BaseMethodTarget = IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember() 454 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember() 458 IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
|
| H A D | SemaCodeComplete.cpp | 7897 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 7903 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 8178 Result R(MethList->getMethod(), in AddClassMessageCompletions() 8179 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions() 8350 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage() 8353 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage() 8354 Results.getBasePriority(MethList->getMethod()), nullptr); in CodeCompleteObjCInstanceMessage() 9774 NumSelIdents <= MethList->getMethod()->param_size()) { in CodeCompleteObjCMethodDeclSelector() 9776 MethList->getMethod()->parameters()[NumSelIdents - 1]; in CodeCompleteObjCMethodDeclSelector() 9789 Result R(MethList->getMethod(), in CodeCompleteObjCMethodDeclSelector() [all …]
|
| H A D | SemaLookup.cpp | 3565 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupDefaultConstructor() 3577 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupCopyingConstructor() 3587 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupMovingConstructor() 3623 return Result.getMethod(); in LookupCopyingAssignment() 3639 return Result.getMethod(); in LookupMovingAssignment() 3652 .getMethod()); in LookupDestructor()
|
| H A D | SemaDeclCXX.cpp | 7456 if (!SMOR.getMethod()) in specialMemberIsConstexpr() 7460 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr() 9428 CXXMethodDecl *Decl = SMOR.getMethod(); in shouldDeleteForSubobjectCall() 9562 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForBase() 9976 if (!SMOR.getMethod()) { in findTrivialSpecialMember() 9985 *Selected = SMOR.getMethod(); in findTrivialSpecialMember() 9990 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember() 13760 if (auto *BaseCtor = SMOR.getMethod()) { in visitBase() 13801 if (CXXMethodDecl *MD = SMOR.getMethod()) in visitSubobjectCall() 15346 if (!SMOR.getMethod() || SMOR.getMethod()->isTrivial() || in checkMoveAssignmentForRepeatedMove() [all …]
|
| H A D | SemaObjCProperty.cpp | 1439 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 1503 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
|
| H A D | SemaExprObjC.cpp | 1182 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1237 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList() 1641 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ObjCMethodList.h | 50 ObjCMethodDecl *getMethod() const { in getMethod() function
|
| H A D | Sema.h | 1467 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 423 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit() 472 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 1059 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance, 1064 return getMethod(Sel, true/*isInstance*/, AllowHidden); 1068 return getMethod(Sel, false/*isInstance*/, AllowHidden);
|
| H A D | ExprObjC.h | 862 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument 865 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 3375 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData() 3379 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData() 3386 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode() 3430 for (ObjCMethodList *M = &Data.Instance; M && M->getMethod(); in WriteSelectors() 3432 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors() 3438 for (ObjCMethodList *M = &Data.Factory; M && M->getMethod(); in WriteSelectors() 3440 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors() 3448 } else if (Data.Instance.getMethod() || Data.Factory.getMethod()) { in WriteSelectors()
|
| H A D | ASTReader.cpp | 4243 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList() 4252 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1707 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
|