Home
last modified time | relevance | path

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

123456

/external/clang/lib/AST/
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()
491 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers()
513 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer()
524 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
532 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
625 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
636 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()
[all …]
DExprObjC.cpp21 ObjCMethodDecl *Method, SourceRange SR) in ObjCArrayLiteral()
40 QualType T, ObjCMethodDecl *Method, in Create()
57 ObjCMethodDecl *method, in ObjCDictionaryLiteral()
93 ObjCMethodDecl *method, SourceRange SR) { in Create()
127 QualType T, ObjCMethodDecl *getMethod, in Create()
128 ObjCMethodDecl *setMethod, SourceLocation RB) { in Create()
140 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr()
161 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr()
178 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in ObjCMessageExpr()
222 ObjCMethodDecl *Method, ArrayRef<Expr *> Args, in Create()
[all …]
DMangle.cpp143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
158 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) in mangleName()
227 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock()
257 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName()
/external/clang/lib/StaticAnalyzer/Checkers/
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 …]
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()
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()
DDynamicTypePropagation.cpp212 const ObjCMethodDecl *D = Msg->getDecl(); in checkPostCall()
333 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl())) in getObjectTypeForAllocAndNew()
625 static const ObjCMethodDecl *
628 const ObjCMethodDecl *Method = nullptr; in findMethodDecl()
661 const ObjCMethodDecl *Method, ArrayRef<QualType> TypeArgs, in getReturnTypeForMethod()
698 const ObjCMethodDecl *Method = in checkPreObjCMessage()
804 const ObjCMethodDecl *Method = in checkPostObjCMessage()
DObjCSelfInitChecker.cpp53 static bool isInitializationMethod(const ObjCMethodDecl *MD);
390 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND); in shouldRunOnFunctionOrMethod()
428 static bool isInitializationMethod(const ObjCMethodDecl *MD) { in isInitializationMethod()
/external/clang/test/Misc/
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 …]
/external/clang/include/clang/AST/
DExprObjC.h96 ObjCMethodDecl *BoxingMethod;
99 ObjCBoxedExpr(Expr *E, QualType T, ObjCMethodDecl *method, in ObjCBoxedExpr()
111 ObjCMethodDecl *getBoxingMethod() const { in getBoxingMethod()
147 ObjCMethodDecl *ArrayWithObjectsMethod;
150 QualType T, ObjCMethodDecl * Method,
159 QualType T, ObjCMethodDecl * Method,
194 ObjCMethodDecl *getArrayWithObjectsMethod() const { in getArrayWithObjectsMethod()
269 ObjCMethodDecl *DictWithObjectsMethod;
273 QualType T, ObjCMethodDecl *method,
307 QualType T, ObjCMethodDecl *method,
[all …]
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 …]
/external/clang/include/clang/Sema/
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()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp43 bool Sema::checkInitMethod(ObjCMethodDecl *method, in checkInitMethod()
113 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride()
114 const ObjCMethodDecl *Overridden) { in CheckObjCMethodOverride()
175 ObjCMethodDecl::param_const_iterator oi = Overridden->param_begin(), in CheckObjCMethodOverride()
177 for (ObjCMethodDecl::param_iterator in CheckObjCMethodOverride()
195 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl()
269 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in AddAnyMethodToGlobalPool()
303 ObjCMethodDecl *MDecl = dyn_cast_or_null<ObjCMethodDecl>(D); in ActOnStartOfObjCMethodDef()
367 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef()
420 const ObjCMethodDecl *SuperMethod = in ActOnStartOfObjCMethodDef()
[all …]
DSemaExprObjC.cpp151 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod()
244 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod()
285 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod()
290 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod()
295 /*isDefined=*/false, ObjCMethodDecl::Required, in getNSNumberFactoryMethod()
345 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()
507 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr()
540 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
546 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr()
645 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
[all …]
DSemaPseudoObject.cpp269 ObjCMethodDecl *Getter;
271 ObjCMethodDecl *Setter;
309 ObjCMethodDecl *AtIndexGetter;
312 ObjCMethodDecl *AtIndexSetter;
542 static ObjCMethodDecl *LookupMethodInReceiverType(Sema &S, Selector sel, in LookupMethodInReceiverType()
553 ObjCMethodDecl *method = in LookupMethodInReceiverType()
554 cast<ObjCMethodDecl>(S.CurContext->getNonClosureAncestor()); in LookupMethodInReceiverType()
604 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter(); in findGetter()
628 if (ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter()) { in findSetter()
649 if (ObjCMethodDecl *setter = in findSetter()
[all …]
/external/clang/tools/libclang/
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()
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()
/external/clang/lib/CodeGen/
DCGObjCRuntime.h48 class ObjCMethodDecl; variable
136 const ObjCMethodDecl *Method) = 0;
169 const ObjCMethodDecl *Method = nullptr) = 0;
187 const ObjCMethodDecl *Method = nullptr) = 0;
204 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
295 MessageSendInfo getMessageSendInfo(const ObjCMethodDecl *method,
/external/clang/lib/StaticAnalyzer/Frontend/
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()
413 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls()
433 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction()
447 assert(isa<ObjCMethodDecl>(D) && in getInliningModeForFunction()
449 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction()
572 if (const ObjCMethodDecl *ID = dyn_cast<ObjCMethodDecl>(D)) { in getFunctionName()
/external/clang/include/clang/Analysis/
DCodeInjector.h24 class ObjCMethodDecl; variable
42 virtual Stmt *getBody(const ObjCMethodDecl *D) = 0;
/external/clang/lib/ARCMigrate/
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()
242 const ObjCMethodDecl *Method = Msg->getMethodDecl(); in rewriteToPropertyDotSyntax()
377 if (isa<ObjCMethodDecl>(D)) in migrateDecl()
452 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp265 if (const ObjCMethodDecl* MD = dyn_cast<ObjCMethodDecl>(D)) in getDeclaredResultType()
295 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D)) in isVariadic()
665 const ObjCMethodDecl *D = getDecl(); in parameters()
808 ObjCMethodDecl *D = nullptr; in canBeOverridenInSubclass()
892 Optional<const ObjCMethodDecl *> > in getRuntimeDefinition()
896 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; in getRuntimeDefinition()
905 if (const ObjCMethodDecl *CompileTimeMD = E->getMethodDecl()) in getRuntimeDefinition()
910 const ObjCMethodDecl *MD = Val.getValue(); in getRuntimeDefinition()
944 const ObjCMethodDecl *D = cast<ObjCMethodDecl>(CalleeCtx->getDecl()); in getInitialStackFrameContents()
/external/clang/lib/Analysis/
DBodyFarm.h27 class ObjCMethodDecl; variable
40 Stmt *getBody(const ObjCMethodDecl *D);
/external/clang/include/clang/CodeGen/
DCodeGenABITypes.h44 class ObjCMethodDecl; variable
62 const ObjCMethodDecl *MD,
/external/clang/include/clang/StaticAnalyzer/Checkers/
DObjCRetainCount.h28 class ObjCMethodDecl; variable
225 static CallEffects getEffect(const ObjCMethodDecl *MD);

123456