| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() function in ObjCContainerDecl 702 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod() 707 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod() 926 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 931 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 936 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 941 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 953 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl() 1216 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() 1233 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() [all …]
|
| H A D | ASTContext.cpp | 468 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 3511 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool() 3527 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool() 3574 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) in LookupMethodInGlobalPool() 3575 return M->getMethod(); in LookupMethodInGlobalPool() 3642 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool() 3645 return Method->getMethod(); in LookupImplementedMethodInGlobalPool() 3649 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool() 3652 return Method->getMethod(); in LookupImplementedMethodInGlobalPool() 3715 if (M->getMethod() && in SelectorsForTypoCorrection() 3727 if (M->getMethod() && in SelectorsForTypoCorrection() [all …]
|
| H A D | SemaCUDA.cpp | 376 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember() 379 CUDAFunctionTarget BaseMethodTarget = IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember() 419 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember() 423 IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
|
| H A D | SemaCodeComplete.cpp | 7267 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 7273 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 7547 Result R(MethList->getMethod(), in AddClassMessageCompletions() 7548 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions() 7719 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage() 7722 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage() 7723 Results.getBasePriority(MethList->getMethod()), nullptr); in CodeCompleteObjCInstanceMessage() 9125 NumSelIdents <= MethList->getMethod()->param_size()) { in CodeCompleteObjCMethodDeclSelector() 9127 MethList->getMethod()->parameters()[NumSelIdents - 1]; in CodeCompleteObjCMethodDeclSelector() 9140 Result R(MethList->getMethod(), in CodeCompleteObjCMethodDeclSelector() [all …]
|
| H A D | SemaLookup.cpp | 3281 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupDefaultConstructor() 3293 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupCopyingConstructor() 3303 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupMovingConstructor() 3339 return Result.getMethod(); in LookupCopyingAssignment() 3355 return Result.getMethod(); in LookupMovingAssignment() 3367 false, false).getMethod()); in LookupDestructor()
|
| H A D | SemaDeclCXX.cpp | 7093 if (!SMOR.getMethod()) in specialMemberIsConstexpr() 7097 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr() 8876 CXXMethodDecl *Decl = SMOR.getMethod(); in shouldDeleteForSubobjectCall() 8999 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForBase() 9413 if (!SMOR.getMethod()) { in findTrivialSpecialMember() 9422 *Selected = SMOR.getMethod(); in findTrivialSpecialMember() 9427 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember() 13012 if (auto *BaseCtor = SMOR.getMethod()) { in visitBase() 13053 if (CXXMethodDecl *MD = SMOR.getMethod()) in visitSubobjectCall() 14577 if (!SMOR.getMethod() || SMOR.getMethod()->isTrivial() || in checkMoveAssignmentForRepeatedMove() [all …]
|
| H A D | SemaObjCProperty.cpp | 1440 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl() 1504 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
|
| H A D | SemaExprObjC.cpp | 1184 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1239 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList() 1642 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | ObjCMethodList.h | 50 ObjCMethodDecl *getMethod() const { in getMethod() function
|
| H A D | Sema.h | 1350 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | IvarInvalidationChecker.cpp | 432 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit() 484 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 3020 if (Method->getMethod()) in EmitKeyDataLength() 3024 if (Method->getMethod()) in EmitKeyDataLength() 3055 if (Method->getMethod()) in EmitData() 3061 if (Method->getMethod()) in EmitData() 3082 if (Method->getMethod()) in EmitData() 3083 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData() 3086 if (Method->getMethod()) in EmitData() 3134 !changed && M && M->getMethod(); M = M->getNext()) { in WriteSelectors() 3135 if (!M->getMethod()->isFromASTFile()) in WriteSelectors() 3140 if (!M->getMethod()->isFromASTFile()) in WriteSelectors() [all …]
|
| H A D | ASTReader.cpp | 4040 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList() 4049 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| 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);
|
| H A D | ExprObjC.h | 859 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument 862 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 77 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1714 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
|