Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaCUDA.cpp177 if (!SMOR || !SMOR->getMethod()) { in inferCUDATargetForImplicitSpecialMember()
181 CUDAFunctionTarget BaseMethodTarget = IdentifyCUDATarget(SMOR->getMethod()); in inferCUDATargetForImplicitSpecialMember()
221 if (!SMOR || !SMOR->getMethod()) { in inferCUDATargetForImplicitSpecialMember()
226 IdentifyCUDATarget(SMOR->getMethod()); in inferCUDATargetForImplicitSpecialMember()
H A DSemaDeclObjC.cpp2230 if (List->getMethod() == nullptr) { in addMethodToGlobalList()
2244 if (!MatchTwoMethodDeclarations(Method, List->getMethod())) in addMethodToGlobalList()
2247 ObjCMethodDecl *PrevObjCMethod = List->getMethod(); in addMethodToGlobalList()
2339 if (M->getMethod() && !M->getMethod()->isHidden()) in CollectMultipleMethodsInGlobalPool()
2340 Methods.push_back(M->getMethod()); in CollectMultipleMethodsInGlobalPool()
2368 if (M->getMethod() && !M->getMethod()->isHidden()) { in LookupMethodInGlobalPool()
2371 return M->getMethod(); in LookupMethodInGlobalPool()
2373 Methods.push_back(M->getMethod()); in LookupMethodInGlobalPool()
2445 if (Method->getMethod() && Method->getMethod()->isDefined()) in LookupImplementedMethodInGlobalPool()
2446 return Method->getMethod(); in LookupImplementedMethodInGlobalPool()
[all …]
H A DSemaCodeComplete.cpp5125 SuperMethod = Class->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5131 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(), in AddSuperSendCompletion()
5407 MethList && MethList->getMethod(); in AddClassMessageCompletions()
5409 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in AddClassMessageCompletions()
5412 Result R(MethList->getMethod(), in AddClassMessageCompletions()
5413 Results.getBasePriority(MethList->getMethod()), nullptr); in AddClassMessageCompletions()
5580 MethList && MethList->getMethod(); in CodeCompleteObjCInstanceMessage()
5582 if (!isAcceptableObjCMethod(MethList->getMethod(), MK_Any, SelIdents)) in CodeCompleteObjCInstanceMessage()
5585 if (!Selectors.insert(MethList->getMethod()->getSelector()).second) in CodeCompleteObjCInstanceMessage()
5588 Result R(MethList->getMethod(), in CodeCompleteObjCInstanceMessage()
[all …]
H A DSemaLookup.cpp2591 return cast_or_null<CXXConstructorDecl>(Result->getMethod()); in LookupDefaultConstructor()
2603 return cast_or_null<CXXConstructorDecl>(Result->getMethod()); in LookupCopyingConstructor()
2613 return cast_or_null<CXXConstructorDecl>(Result->getMethod()); in LookupMovingConstructor()
2647 return Result->getMethod(); in LookupCopyingAssignment()
2663 return Result->getMethod(); in LookupMovingAssignment()
2675 false, false)->getMethod()); in LookupDestructor()
H A DSemaDeclCXX.cpp4966 if (!SMOR || !SMOR->getMethod()) in specialMemberIsConstexpr()
4970 return SMOR->getMethod()->isConstexpr(); in specialMemberIsConstexpr()
5439 CXXMethodDecl *Decl = SMOR->getMethod(); in shouldDeleteForSubobjectCall()
5885 if (!SMOR->getMethod()) { in findTrivialSpecialMember()
5894 *Selected = SMOR->getMethod(); in findTrivialSpecialMember()
5895 return SMOR->getMethod()->isTrivial(); in findTrivialSpecialMember()
10382 if (!SMOR->getMethod() || SMOR->getMethod()->isTrivial() || in checkMoveAssignmentForRepeatedMove()
10383 !SMOR->getMethod()->isMoveAssignmentOperator()) in checkMoveAssignmentForRepeatedMove()
10414 if (!SMOR->getMethod()->isDefaulted()) in checkMoveAssignmentForRepeatedMove()
H A DSemaExprObjC.cpp990 ObjCMethodDecl *MatchingMethodDecl = M->getMethod(); in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1205 iface->getMethod(MD->getSelector(), MD->isInstanceMethod()); in findExplicitInstancetypeDeclarer()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() function in ObjCContainerDecl
563 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
568 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
742 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
747 Redecl = ImplD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
753 Redecl = IFD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
759 Redecl = CatD->getMethod(getSelector(), isInstanceMethod()); in getNextRedeclarationImpl()
765 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
777 if (ObjCMethodDecl *MD = IFD->getMethod(getSelector(), in getCanonicalDecl()
784 if (ObjCMethodDecl *MD = CatD->getMethod(getSelector(), in getCanonicalDecl()
[all …]
H A DExpr.cpp4214 ObjCMethodDecl *getMethod, in Create() argument
4220 getMethod, setMethod, RB); in Create()
H A DASTContext.cpp411 Ext->getMethod(ObjCMethod->getSelector(), in addRedeclaredMethods()
/minix3/external/bsd/llvm/dist/clang/test/Analysis/
H A Drefcnt_naming.m31 - (NSURL *)getMethod:(NSString*)inString;
45 - (NSURL *)getMethod:(NSString *)inString
/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DObjCMethodList.h41 ObjCMethodDecl *getMethod() const { in getMethod() function
H A DSema.h844 CXXMethodDecl *getMethod() const { return Pair.getPointer(); } in getMethod() function
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp435 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
487 const ObjCMethodDecl *D = ImplD->getMethod(InterfD->getSelector(), in visit()
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DIndexDecl.cpp29 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
H A DCIndex.cpp5038 if (ObjCMethodDecl *Def = ClassImpl->getMethod(Method->getSelector(), in clang_getCursorDefinition()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DExprObjC.h804 ObjCMethodDecl *getMethod,
813 GetAtIndexMethodDecl(getMethod),
823 ObjCMethodDecl *getMethod,
H A DDeclObjC.h582 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
586 return getMethod(Sel, true/*isInstance*/, AllowHidden);
589 return getMethod(Sel, false/*isInstance*/, AllowHidden);
/minix3/external/bsd/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp2898 if (Method->getMethod()) in EmitKeyDataLength()
2902 if (Method->getMethod()) in EmitKeyDataLength()
2932 if (Method->getMethod()) in EmitData()
2938 if (Method->getMethod()) in EmitData()
2959 if (Method->getMethod()) in EmitData()
2960 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData()
2963 if (Method->getMethod()) in EmitData()
2964 LE.write<uint32_t>(Writer.getDeclID(Method->getMethod())); in EmitData()
3011 !changed && M && M->getMethod(); M = M->getNext()) { in WriteSelectors()
3012 if (!M->getMethod()->isFromASTFile()) in WriteSelectors()
[all …]
H A DASTReader.cpp3460 if (List->getMethod() == Method) { in moveMethodToBackOfGlobalList()
3469 List->setMethod(List->getNext()->getMethod()); in moveMethodToBackOfGlobalList()
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp1722 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(), in inferDesignatedInitializers()