Home
last modified time | relevance | path

Searched refs:ObjCMethodDecl (Results 1 – 25 of 125) sorted by relevance

12345

/minix3/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DObjCMethodList.h21 class ObjCMethodDecl; variable
28 llvm::PointerIntPair<ObjCMethodDecl *, 1> MethodAndHasMoreThanOneDecl;
33 ObjCMethodList(ObjCMethodDecl *M) in ObjCMethodList()
41 ObjCMethodDecl *getMethod() const { in getMethod()
44 void setMethod(ObjCMethodDecl *M) { in setMethod()
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp67 ObjCMethodDecl *
89 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in getMethod()
107 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in HasUserDeclaredSetterMethod()
116 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod()
411 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers()
433 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer()
444 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
452 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
545 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
556 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()
[all …]
H A DMangle.cpp143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
158 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
229 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock()
260 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName()
/minix3/external/bsd/llvm/dist/clang/test/Misc/
H A Dast-dump-decl.m31 // CHECK: ObjCMethodDecl{{.*}} - TestObjCMethodDecl: 'int'
40 // CHECK: ObjCMethodDecl{{.*}} - TestObjCMethodDecl: 'int'
52 // CHECK-NEXT: ObjCMethodDecl{{.*}} foo
61 // CHECK-NEXT: ObjCMethodDecl{{.*}} foo
73 // CHECK-NEXT: ObjCMethodDecl{{.*}} foo
82 // CHECK-NEXT: ObjCMethodDecl{{.*}} bar
91 // CHECK-NEXT: ObjCMethodDecl{{.*}} bar
106 // CHECK-NEXT: ObjCMethodDecl{{.*}} getterFoo
107 // CHECK-NEXT: ObjCMethodDecl{{.*}} setterFoo:
109 // CHECK-NEXT: ObjCMethodDecl{{.*}} bar
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DExprObjC.h94 ObjCMethodDecl *BoxingMethod;
97 ObjCBoxedExpr(Expr *E, QualType T, ObjCMethodDecl *method, in ObjCBoxedExpr()
109 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod()
145 ObjCMethodDecl *ArrayWithObjectsMethod;
148 QualType T, ObjCMethodDecl * Method,
157 QualType T, ObjCMethodDecl * Method,
192 ObjCMethodDecl *getArrayWithObjectsMethod() const { in getArrayWithObjectsMethod()
267 ObjCMethodDecl *DictWithObjectsMethod;
271 QualType T, ObjCMethodDecl *method,
305 QualType T, ObjCMethodDecl *method,
[all …]
H A DDeclObjC.h28 class ObjCMethodDecl; variable
113 class ObjCMethodDecl : public NamedDecl, public DeclContext {
226 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc,
250 ObjCMethodDecl *getNextRedeclarationImpl() override;
253 static ObjCMethodDecl *
262 static ObjCMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID);
264 ObjCMethodDecl *getCanonicalDecl() override;
265 const ObjCMethodDecl *getCanonicalDecl() const { in getCanonicalDecl()
266 return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl(); in getCanonicalDecl()
283 void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp59 typedef llvm::SmallSetVector<const ObjCMethodDecl*, 2> MethodSet;
60 typedef llvm::DenseMap<const ObjCMethodDecl*,
76 void addInvalidationMethod(const ObjCMethodDecl *MD) { in addInvalidationMethod()
84 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod()
120 const ObjCMethodDecl *InvalidationMethod;
213 const ObjCMethodDecl *MethodD) const;
229 static bool isInvalidationMethod(const ObjCMethodDecl *M, bool LookForPartial) { in isInvalidationMethod()
254 cast<ObjCMethodDecl>(MDI->getCanonicalDecl())); in containsInvalidationMethod()
405 const ObjCMethodDecl *SetterD = PD->getSetterMethodDecl(); in visit()
407 SetterD = cast<ObjCMethodDecl>(SetterD->getCanonicalDecl()); in visit()
[all …]
H A DDirectIvarAssignment.cpp43 static bool DefaultMethodFilter(const ObjCMethodDecl *M) { in DefaultMethodFilter()
63 const ObjCMethodDecl *MD;
70 MethodCrawler(const IvarToPropertyMapTy &InMap, const ObjCMethodDecl *InMD, in MethodCrawler()
88 bool (*ShouldSkipMethod)(const ObjCMethodDecl *);
189 ObjCMethodDecl *GetterMethod = in VisitBinaryOperator()
191 ObjCMethodDecl *SetterMethod = in VisitBinaryOperator()
218 static bool AttrFilter(const ObjCMethodDecl *M) { in AttrFilter()
H A DCheckObjCInstMethSignature.cpp40 static void CompareReturnTypes(const ObjCMethodDecl *MethDerived, in CompareReturnTypes()
41 const ObjCMethodDecl *MethAncestor, in CompareReturnTypes()
92 typedef llvm::DenseMap<Selector,ObjCMethodDecl*> MapTy; in CheckObjCInstMethSignature()
113 ObjCMethodDecl *MethDerived = MI->second; in CheckObjCInstMethSignature()
H A DDynamicTypePropagation.cpp115 const ObjCMethodDecl *D = Msg->getDecl(); in checkPostCall()
234 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl())) in getObjectTypeForAllocAndNew()
H A DObjCSelfInitChecker.cpp53 static bool isInitializationMethod(const ObjCMethodDecl *MD);
391 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND); in shouldRunOnFunctionOrMethod()
429 static bool isInitializationMethod(const ObjCMethodDecl *MD) { in isInitializationMethod()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp41 bool Sema::checkInitMethod(ObjCMethodDecl *method, in checkInitMethod()
112 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride()
113 const ObjCMethodDecl *Overridden) { in CheckObjCMethodOverride()
174 ObjCMethodDecl::param_const_iterator oi = Overridden->param_begin(), in CheckObjCMethodOverride()
176 for (ObjCMethodDecl::param_iterator in CheckObjCMethodOverride()
194 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl()
268 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool()
302 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef()
366 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef()
419 const ObjCMethodDecl *SuperMethod = in ActOnStartOfObjCMethodDef()
[all …]
H A DSemaExprObjC.cpp151 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod()
173 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod()
228 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod()
233 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod()
238 /*isDefined=*/false, ObjCMethodDecl::Required, in getNSNumberFactoryMethod()
288 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()
450 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr()
499 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
505 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr()
604 ObjCMethodDecl *getterMethod, in BuildObjCSubscriptExpression()
[all …]
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DIndexDecl.cpp27 static bool hasUserDefined(const ObjCMethodDecl *D, in hasUserDefined()
29 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined()
52 void handleObjCMethod(const ObjCMethodDecl *D) { in handleObjCMethod()
199 bool VisitObjCMethodDecl(const ObjCMethodDecl *D) { in VisitObjCMethodDecl()
210 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl()
213 if (ObjCMethodDecl *MD = D->getSetterMethodDecl()) in VisitObjCPropertyDecl()
235 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) { in VisitObjCPropertyImplDecl()
241 if (ObjCMethodDecl *MD = PD->getSetterMethodDecl()) { in VisitObjCPropertyImplDecl()
340 if (isa<ObjCMethodDecl>(D)) in indexTopLevelDecl()
H A DIndexBody.cpp71 if (ObjCMethodDecl *MD = E->getMethodDecl()) in VisitObjCMessageExpr()
102 if (ObjCMethodDecl *MD = E->getBoxingMethod()) in VisitObjCBoxedExpr()
109 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) in VisitObjCDictionaryLiteral()
116 if (ObjCMethodDecl *MD = E->getArrayWithObjectsMethod()) in VisitObjCArrayLiteral()
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/
H A DCodeInjector.h24 class ObjCMethodDecl; variable
42 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DBodyFarm.h27 class ObjCMethodDecl; variable
40 Stmt *getBody(const ObjCMethodDecl *D);
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGObjCRuntime.h48 class ObjCMethodDecl; variable
127 const ObjCMethodDecl *Method) = 0;
160 const ObjCMethodDecl *Method = nullptr) = 0;
178 const ObjCMethodDecl *Method = nullptr) = 0;
195 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
283 MessageSendInfo getMessageSendInfo(const ObjCMethodDecl *method,
/minix3/external/bsd/llvm/dist/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h41 class ObjCMethodDecl; variable
59 const ObjCMethodDecl *MD,
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp275 if (isa<FunctionDecl>(D) || isa<ObjCMethodDecl>(D)) { in DisplayFunction()
283 else if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) { in DisplayFunction()
360 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { in VisitObjCMethodDecl()
410 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls()
430 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction()
444 assert(isa<ObjCMethodDecl>(D) && in getInliningModeForFunction()
446 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction()
569 if (const ObjCMethodDecl *ID = dyn_cast<ObjCMethodDecl>(D)) { in getFunctionName()
H A DModelInjector.h47 Stmt *getBody(const ObjCMethodDecl *D);
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp247 if (const ObjCMethodDecl* MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType()
277 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic()
608 const ObjCMethodDecl *D = getDecl(); in parameters()
750 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass()
834 Optional<const ObjCMethodDecl *> > in getRuntimeDefinition()
838 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; in getRuntimeDefinition()
847 if (const ObjCMethodDecl *CompileTimeMD = E->getMethodDecl()) in getRuntimeDefinition()
852 const ObjCMethodDecl *MD = Val.getValue(); in getRuntimeDefinition()
886 const ObjCMethodDecl *D = cast<ObjCMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DObjCMT.cpp59 ObjCMethodDecl *OM);
60 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM);
61 void migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM);
64 ObjCMethodDecl *OM,
71 const ObjCMethodDecl *MethodDecl, bool ResultAnnotated);
81 const ObjCMethodDecl *MethodDecl);
172 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) in canModify()
248 const ObjCMethodDecl *Method = Msg->getMethodDecl(); in rewriteToPropertyDotSyntax()
384 if (isa<ObjCMethodDecl>(D)) in migrateDecl()
459 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty()
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DObjCRetainCount.h28 class ObjCMethodDecl; variable
217 static CallEffects getEffect(const ObjCMethodDecl *MD);
/minix3/external/bsd/llvm/dist/clang/include/clang/Edit/
H A DRewriters.h16 class ObjCMethodDecl; variable

12345