Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp92 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 DASTContext.cpp468 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp3511 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 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.cpp7267 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 DSemaLookup.cpp3281 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 DSemaDeclCXX.cpp7093 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 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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DObjCMethodList.h50 ObjCMethodDecl *getMethod() const { in getMethod() function
H A DSema.h1350 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3020 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 DASTReader.cpp4040 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 DDeclObjC.h1060 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1065 return getMethod(Sel, true/*isInstance*/, AllowHidden);
1069 return getMethod(Sel, false/*isInstance*/, AllowHidden);
H A DExprObjC.h859 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 DIndexDecl.cpp77 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1714 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()