Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() function in ObjCContainerDecl
701 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
706 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
930 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
947 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
959 if (ObjCMethodDecl *MD = IFD->getMethod(getSelector(), in getCanonicalDecl()
964 if (ObjCMethodDecl *MD = CatD->getMethod(getSelector(), in getCanonicalDecl()
972 cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl()
1192 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
1209 Overridden = Container->getMethod(Method->getSelector(), in CollectOverriddenMethodsRecurse()
[all …]
H A DASTContext.cpp463 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp3474 if (M->getMethod() && !M->getMethod()->isHidden()) { in CollectMultipleMethodsInGlobalPool()
3490 if (M->getMethod() && !M->getMethod()->isHidden()) { in CollectMultipleMethodsInGlobalPool()
3537 if (M->getMethod() && !M->getMethod()->isHidden()) in LookupMethodInGlobalPool()
3538 return M->getMethod(); in LookupMethodInGlobalPool()
3605 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool()
3608 return Method->getMethod(); in LookupImplementedMethodInGlobalPool()
3612 if (Method->getMethod() && in LookupImplementedMethodInGlobalPool()
3615 return Method->getMethod(); in LookupImplementedMethodInGlobalPool()
3678 if (M->getMethod() && in SelectorsForTypoCorrection()
3690 if (M->getMethod() && in SelectorsForTypoCorrection()
[all …]
H A DSemaCUDA.cpp308 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember()
311 CUDAFunctionTarget BaseMethodTarget = IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
351 if (!SMOR.getMethod()) in inferCUDATargetForImplicitSpecialMember()
355 IdentifyCUDATarget(SMOR.getMethod()); in inferCUDATargetForImplicitSpecialMember()
H A DSemaCodeComplete.cpp6126 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
6132 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
6405 Result R(MethList->getMethod(), in AddClassMessageCompletions()
6406 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions()
6577 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage()
6580 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage()
6581 Results.getBasePriority(MethList->getMethod()), nullptr); in CodeCompleteObjCInstanceMessage()
7979 NumSelIdents <= MethList->getMethod()->param_size()) { in CodeCompleteObjCMethodDeclSelector()
7981 MethList->getMethod()->parameters()[NumSelIdents - 1]; in CodeCompleteObjCMethodDeclSelector()
7994 Result R(MethList->getMethod(), in CodeCompleteObjCMethodDeclSelector()
[all …]
H A DSemaLookup.cpp3057 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupDefaultConstructor()
3069 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupCopyingConstructor()
3079 return cast_or_null<CXXConstructorDecl>(Result.getMethod()); in LookupMovingConstructor()
3113 return Result.getMethod(); in LookupCopyingAssignment()
3129 return Result.getMethod(); in LookupMovingAssignment()
3141 false, false).getMethod()); in LookupDestructor()
H A DSemaDeclCXX.cpp6327 if (!SMOR.getMethod()) in specialMemberIsConstexpr()
6331 return SMOR.getMethod()->isConstexpr(); in specialMemberIsConstexpr()
6935 CXXMethodDecl *Decl = SMOR.getMethod(); in shouldDeleteForSubobjectCall()
7033 if (auto *BaseCtor = SMOR.getMethod()) { in shouldDeleteForBase()
7424 if (!SMOR.getMethod()) { in findTrivialSpecialMember()
7433 *Selected = SMOR.getMethod(); in findTrivialSpecialMember()
7438 return SMOR.getMethod()->isTrivial(); in findTrivialSpecialMember()
10746 if (auto *BaseCtor = SMOR.getMethod()) { in visitBase()
10787 if (CXXMethodDecl *MD = SMOR.getMethod()) in visitSubobjectCall()
12241 if (!SMOR.getMethod() || SMOR.getMethod()->isTrivial() || in checkMoveAssignmentForRepeatedMove()
[all …]
H A DSemaExprObjC.cpp1111 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1464 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DObjCMethodList.h45 ObjCMethodDecl *getMethod() const { in getMethod() function
H A DSema.h1079 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp433 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
485 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp3309 if (Method->getMethod()) in EmitKeyDataLength()
3313 if (Method->getMethod()) in EmitKeyDataLength()
3345 if (Method->getMethod()) in EmitData()
3351 if (Method->getMethod()) in EmitData()
3372 if (Method->getMethod()) in EmitData()
3373 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData()
3376 if (Method->getMethod()) in EmitData()
3424 !changed && M && M->getMethod(); M = M->getNext()) { in WriteSelectors()
3425 if (!M->getMethod()->isFromASTFile()) in WriteSelectors()
3430 if (!M->getMethod()->isFromASTFile()) in WriteSelectors()
[all …]
H A DASTReader.cpp3703 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList()
3712 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclObjC.h1084 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
1089 return getMethod(Sel, true/*isInstance*/, AllowHidden);
1093 return getMethod(Sel, false/*isInstance*/, AllowHidden);
H A DExprObjC.h822 ObjCMethodDecl *getMethod,
831 RBracket(RB), GetAtIndexMethodDecl(getMethod),
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp50 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1283 Val = CatDecl->getMethod(Sel, in getRuntimeDefinition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp1716 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()