| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() function in ObjCContainerDecl 710 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod() 715 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod() 942 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 947 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 952 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 957 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl() 969 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl() 1232 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() 1249 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse() [all …]
|
| H A D | ASTContext.cpp | 474 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 3519 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool() 3535 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool() 3582 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) in LookupMethodInGlobalPool() 3583 return M->getMethod(); in LookupMethodInGlobalPool() 3650 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool() 3653 return Method->getMethod(); in LookupImplementedMethodInGlobalPool() 3657 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool() 3660 return Method->getMethod(); in LookupImplementedMethodInGlobalPool() 3723 if (M->getMethod() && in SelectorsForTypoCorrection() 3735 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 | 7754 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 7760 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion() 8034 Result R(MethList->getMethod(), in AddClassMessageCompletions() 8035 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions() 8206 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage() 8209 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage() 8210 Results.getBasePriority(MethList->getMethod()), nullptr); in CodeCompleteObjCInstanceMessage() 9611 NumSelIdents <= MethList->getMethod()->param_size()) { in CodeCompleteObjCMethodDeclSelector() 9613 MethList->getMethod()->parameters()[NumSelIdents - 1]; in CodeCompleteObjCMethodDeclSelector() 9626 Result R(MethList->getMethod(), in CodeCompleteObjCMethodDeclSelector() [all …]
|
| H A D | SemaLookup.cpp | 3537 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupDefaultConstructor() 3549 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupCopyingConstructor() 3559 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupMovingConstructor() 3595 return Result.getMethod(); in LookupCopyingAssignment() 3611 return Result.getMethod(); in LookupMovingAssignment() 3623 false, false).getMethod()); in LookupDestructor()
|
| H A D | SemaDeclCXX.cpp | 7198 if (!SMOR.getMethod()) in specialMemberIsConstexpr() 7202 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr() 9056 CXXMethodDecl *Decl = SMOR.getMethod(); in shouldDeleteForSubobjectCall() 9179 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForBase() 9593 if (!SMOR.getMethod()) { in findTrivialSpecialMember() 9602 *Selected = SMOR.getMethod(); in findTrivialSpecialMember() 9607 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember() 13212 if (auto *BaseCtor = SMOR.getMethod()) { in visitBase() 13253 if (CXXMethodDecl *MD = SMOR.getMethod()) in visitSubobjectCall() 14779 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()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | refcnt_naming.m | 31 - (NSURL *)getMethod:(NSString*)inString; 45 - (NSURL *)getMethod:(NSString *)inString
|
| /llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/ |
| H A D | test_assertions.py | 115 def getMethod(i): function 124 testMethod = getMethod(i)
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | ObjCMethodList.h | 50 ObjCMethodDecl *getMethod() const { in getMethod() function
|
| H A D | Sema.h | 1401 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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 | 859 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument 862 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 3272 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData() 3276 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData() 3283 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode() 3327 for (ObjCMethodList *M = &Data.Instance; M && M->getMethod(); in WriteSelectors() 3329 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors() 3335 for (ObjCMethodList *M = &Data.Factory; M && M->getMethod(); in WriteSelectors() 3337 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors() 3345 } else if (Data.Instance.getMethod() || Data.Factory.getMethod()) { in WriteSelectors()
|
| H A D | ASTReader.cpp | 4071 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList() 4080 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexDecl.cpp | 81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1713 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | XRefs.cpp | 98 return Impl->getMethod(MD->getSelector(), MD->isInstanceMethod()); in getDefinition()
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CIndex.cpp | 6791 if (ObjCMethodDecl *Def = ClassImpl->getMethod( in clang_getCursorDefinition()
|