Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp93 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod()
717 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
722 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()
1024 if (ObjCMethodDecl *MD = IFD->getMethod(Sel, isInstanceMethod())) in getCanonicalDecl()
1027 if (ObjCMethodDecl *MD = Ext->getMethod(Se in getCanonicalDecl()
92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, getMethod() function in ObjCContainerDecl
[all...]
H A DASTContext.cpp491 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp3329 if (List->getMethod() == nullptr) { in addMethodToGlobalList()
3345 List->getMethod()); in addMethodToGlobalList()
3357 !isMethodContextSameForKindofLookup(Method, List->getMethod())) { in addMethodToGlobalList()
3367 !ListWithSameDeclaration && !List->getMethod()->isDeprecated()) in addMethodToGlobalList()
3372 List->getMethod()->getAvailability() < AR_Deprecated) in addMethodToGlobalList()
3377 ObjCMethodDecl *PrevObjCMethod = List->getMethod(); in addMethodToGlobalList()
3528 if (M->getMethod() && M->getMethod()->isUnconditionallyVisible()) { in CollectMultipleMethodsInGlobalPool()
3529 if (FilterMethodsByTypeBound(M->getMethod(), TypeBound)) in CollectMultipleMethodsInGlobalPool()
3530 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
[all...]
H A DSemaCUDA.cpp424 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember()
427 CUDAFunctionTarget BaseMethodTarget = IdentifyTarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
468 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember()
471 CUDAFunctionTarget FieldMethodTarget = IdentifyTarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
H A DSemaCodeComplete.cpp7971 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
7977 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
8252 MethList && MethList->getMethod(); MethList = MethList->getNext()) { in CodeCompleteObjCInstanceMessage()
8253 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in CodeCompleteObjCInstanceMessage()
8256 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage()
8257 Results.getBasePriority(MethList->getMethod()), nullptr); in CodeCompleteObjCInstanceMessage()
8427 MethList && MethList->getMethod(); MethList = MethList->getNext()) { in CodeCompleteObjCSelector()
8428 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in CodeCompleteObjCSelector()
8431 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCSelector()
8434 Result R(MethList->getMethod(), in CodeCompleteObjCSelector()
[all...]
H A DSemaLookup.cpp3518 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupSpecialMember()
3529 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupSpecialMember()
3538 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupSpecialMember()
3571 return Result.getMethod(); in LookupCopyingConstructor()
3585 return Result.getMethod(); in LookupMovingConstructor()
3592 .getMethod()); in LookupConstructors()
H A DSemaDeclCXX.cpp7336 if (!SMOR.getMethod()) in lookupCallFromSpecialMember()
7340 return SMOR.getMethod()->isConstexpr(); in lookupCallFromSpecialMember()
9328 CXXMethodDecl *Decl = SMOR.getMethod();
9464 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForSubobjectCall()
9884 if (!SMOR.getMethod()) { in findTrivialSpecialMember()
9893 *Selected = SMOR.getMethod(); in findTrivialSpecialMember()
9898 return SMOR.getMethod()->isTrivialForCall(); in findTrivialSpecialMember()
9899 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember()
13627 if (auto *BaseCtor = SMOR.getMethod()) { in ActOnAliasDeclaration()
13669 if (CXXMethodDecl *MD = SMOR.getMethod()) in ActOnNamespaceAliasDef()
[all...]
H A DSemaObjCProperty.cpp1418 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
1482 ObjCMethodDecl *OMD = ClassImpDecl->getMethod( in ActOnPropertyImplDecl()
H A DSemaExprObjC.cpp1191 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1247 ObjCMethodDecl *Method = M->getMethod(); in LookupDirectMethodInMethodList()
1653 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
/freebsd-src/contrib/llvm-project/clang/include/clang/Sema/
H A DObjCMethodList.h50 ObjCMethodDecl *getMethod() const { in getMethod() function
H A DSema.h8963 CXXMethodDecl *getMethod() const { return Pair.getPointer(); }
1467 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } getMethod() function
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp423 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
472 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h1062 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1067 return getMethod(Sel, true/*isInstance*/, AllowHidden);
1071 return getMethod(Sel, false/*isInstance*/, AllowHidden);
H A DExprObjC.h862 ExprObjectKind OK, ObjCMethodDecl *getMethod, in ObjCSubscriptRefExpr() argument
865 GetAtIndexMethodDecl(getMethod), SetAtIndexMethodDecl(setMethod) { in ObjCSubscriptRefExpr()
/freebsd-src/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp3537 LE.write<DeclID>((DeclID)Writer.getDeclID(Method->getMethod())); in getDeclForLocalLookup()
3541 LE.write<DeclID>((DeclID)Writer.getDeclID(Method->getMethod())); in getDeclForLocalLookup()
3548 return (Node->getMethod() && !Node->getMethod()->isFromASTFile()); in getDeclForLocalLookup()
3593 for (ObjCMethodList *M = &Data.Instance; M && M->getMethod();
3595 if (!M->getMethod()->isFromASTFile()) {
3601 for (ObjCMethodList *M = &Data.Factory; M && M->getMethod();
3603 if (!M->getMethod()->isFromASTFile()) { in ASTIdentifierTableTrait()
3611 } else if (Data.Instance.getMethod() || Data.Factory.getMethod()) { in ComputeHash()
[all...]
H A DASTReader.cpp4252 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList()
4261 List->setMethod(List->getNext()->getMethod()); in makeNamesVisible()
/freebsd-src/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp81 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
/freebsd-src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1708 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()