Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 22 of 22) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp92 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 DASTContext.cpp474 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp3519 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 DSemaCUDA.cpp376 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 DSemaCodeComplete.cpp7754 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 DSemaLookup.cpp3537 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 DSemaDeclCXX.cpp7198 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 DSemaObjCProperty.cpp1440 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
1504 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
H A DSemaExprObjC.cpp1184 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 Drefcnt_naming.m31 - (NSURL *)getMethod:(NSString*)inString;
45 - (NSURL *)getMethod:(NSString *)inString
/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_assertions.py115 def getMethod(i): function
124 testMethod = getMethod(i)
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DObjCMethodList.h50 ObjCMethodDecl *getMethod() const { in getMethod() function
H A DSema.h1401 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp432 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 DDeclObjC.h1059 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1064 return getMethod(Sel, true/*isInstance*/, AllowHidden);
1068 return getMethod(Sel, false/*isInstance*/, AllowHidden);
H A DExprObjC.h859 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument
862 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp3272 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 DASTReader.cpp4071 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList()
4080 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexDecl.cpp81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DObjCMT.cpp1713 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.cpp98 return Impl->getMethod(MD->getSelector(), MD->isInstanceMethod()); in getDefinition()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp6791 if (ObjCMethodDecl *Def = ClassImpl->getMethod( in clang_getCursorDefinition()