Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclObjC.cpp92 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 DASTContext.cpp476 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaDeclObjC.cpp3527 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool()
3543 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool()
3590 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) in LookupMethodInGlobalPool()
3591 return M->getMethod(); in LookupMethodInGlobalPool()
3658 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool()
3661 return Method->getMethod(); in LookupImplementedMethodInGlobalPool()
3665 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool()
3668 return Method->getMethod(); in LookupImplementedMethodInGlobalPool()
3731 if (M->getMethod() && in SelectorsForTypoCorrection()
3743 if (M->getMethod() && in SelectorsForTypoCorrection()
[all …]
H A DSemaCUDA.cpp376 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember()
379 CUDAFunctionTarget BaseMethodTarget = IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
418 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember()
422 IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
H A DSemaCodeComplete.cpp7807 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
7813 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
8088 Result R(MethList->getMethod(), in AddClassMessageCompletions()
8089 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions()
8260 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage()
8263 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage()
8264 Results.getBasePriority(MethList->getMethod()), nullptr); in CodeCompleteObjCInstanceMessage()
9666 NumSelIdents <= MethList->getMethod()->param_size()) { in CodeCompleteObjCMethodDeclSelector()
9668 MethList->getMethod()->parameters()[NumSelIdents - 1]; in CodeCompleteObjCMethodDeclSelector()
9681 Result R(MethList->getMethod(), in CodeCompleteObjCMethodDeclSelector()
[all …]
H A DSemaLookup.cpp3548 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupDefaultConstructor()
3560 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupCopyingConstructor()
3570 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupMovingConstructor()
3606 return Result.getMethod(); in LookupCopyingAssignment()
3622 return Result.getMethod(); in LookupMovingAssignment()
3635 .getMethod()); in LookupDestructor()
H A DSemaDeclCXX.cpp7252 if (!SMOR.getMethod()) in specialMemberIsConstexpr()
7256 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr()
9142 CXXMethodDecl *Decl = SMOR.getMethod(); in shouldDeleteForSubobjectCall()
9265 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForBase()
9679 if (!SMOR.getMethod()) { in findTrivialSpecialMember()
9688 *Selected = SMOR.getMethod(); in findTrivialSpecialMember()
9693 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember()
13321 if (auto *BaseCtor = SMOR.getMethod()) { in visitBase()
13362 if (CXXMethodDecl *MD = SMOR.getMethod()) in visitSubobjectCall()
14895 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.cpp1182 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1237 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList()
1640 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
/openbsd/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_assertions.py115 def getMethod(i): function
124 testMethod = getMethod(i)
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DObjCMethodList.h50 ObjCMethodDecl *getMethod() const { in getMethod() function
H A DSema.h1433 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp431 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
483 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h1056 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1061 return getMethod(Sel, true/*isInstance*/, AllowHidden);
1065 return getMethod(Sel, false/*isInstance*/, AllowHidden);
H A DExprObjC.h859 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument
862 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp3291 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData()
3295 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData()
3302 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in ShouldWriteMethodListNode()
3346 for (ObjCMethodList *M = &Data.Instance; M && M->getMethod(); in WriteSelectors()
3348 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3354 for (ObjCMethodList *M = &Data.Factory; M && M->getMethod(); in WriteSelectors()
3356 if (!M->getMethod()->isFromASTFile()) { in WriteSelectors()
3364 } else if (Data.Instance.getMethod() || Data.Factory.getMethod()) { in WriteSelectors()
H A DASTReader.cpp4068 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList()
4077 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexDecl.cpp81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DObjCMT.cpp1710 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()
/openbsd/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp6828 if (ObjCMethodDecl *Def = ClassImpl->getMethod( in clang_getCursorDefinition()