Home
last modified time | relevance | path

Searched refs:ObjCMethodDecl (Results 1 – 25 of 137) 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()
410 llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const { in getDesignatedInitializers()
432 const ObjCMethodDecl **InitMethod) const { in isDesignatedInitializer()
443 if (const ObjCMethodDecl *MD = IFace->getInstanceMethod(Sel)) { in isDesignatedInitializer()
451 if (const ObjCMethodDecl *MD = Ext->getInstanceMethod(Sel)) { in isDesignatedInitializer()
544 ObjCMethodDecl *ObjCInterfaceDecl::lookupMethod(Selector Sel, in lookupMethod()
555 ObjCMethodDecl *MethodDecl = nullptr; in lookupMethod()
[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()
229 if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(DC)) { in mangleBlock()
260 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName()
/external/clang/include/clang/AST/
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 …]
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/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()
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()
DDynamicTypePropagation.cpp115 const ObjCMethodDecl *D = Msg->getDecl(); in checkPostCall()
234 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl())) in getObjectTypeForAllocAndNew()
/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/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/lib/Sema/
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 …]
DSemaExprObjC.cpp151 Selector Sel, const ObjCMethodDecl *Method) { in validateBoxingMethod()
173 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, in getNSNumberFactoryMethod()
230 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); in getNSNumberFactoryMethod()
235 ObjCMethodDecl::Create(CX, SourceLocation(), SourceLocation(), Sel, in getNSNumberFactoryMethod()
240 /*isDefined=*/false, ObjCMethodDecl::Required, in getNSNumberFactoryMethod()
290 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral()
452 ObjCMethodDecl *BoxingMethod = nullptr; in BuildObjCBoxedExpr()
501 ObjCMethodDecl *M = ObjCMethodDecl::Create( in BuildObjCBoxedExpr()
507 /*isDefined=*/false, ObjCMethodDecl::Required, in BuildObjCBoxedExpr()
606 ObjCMethodDecl *getterMethod, in BuildObjCSubscriptExpression()
[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
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,
/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()
409 if (isa<ObjCMethodDecl>(*I)) in storeTopLevelDecls()
429 if (isa<ObjCMethodDecl>(D)) in shouldSkipFunction()
443 assert(isa<ObjCMethodDecl>(D) && in getInliningModeForFunction()
445 const ObjCMethodDecl *ObjCM = cast<ObjCMethodDecl>(D); in getInliningModeForFunction()
568 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/Analysis/
DBodyFarm.h27 class ObjCMethodDecl; variable
40 Stmt *getBody(const ObjCMethodDecl *D);
/external/clang/lib/StaticAnalyzer/Core/
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()
/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()
252 const ObjCMethodDecl *Method = Msg->getMethodDecl(); in rewriteToPropertyDotSyntax()
387 if (isa<ObjCMethodDecl>(D)) in migrateDecl()
462 static void rewriteToObjCProperty(const ObjCMethodDecl *Getter, in rewriteToObjCProperty()
[all …]
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp71 else if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) in TransformTopLevelDecl()
90 else if (ObjCMethodDecl *method_decl = dyn_cast<ObjCMethodDecl>(D)) in TransformTopLevelDecl()
176 ASTResultSynthesizer::SynthesizeObjCMethodResult (ObjCMethodDecl *MethodDecl) in SynthesizeObjCMethodResult()
/external/clang/include/clang/CodeGen/
DCodeGenABITypes.h41 class ObjCMethodDecl; variable
59 const ObjCMethodDecl *MD,
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp327 …clang::ObjCMethodDecl *BuildMethod (clang::ObjCInterfaceDecl *interface_decl, const char *name, bo… in BuildMethod()
341 const clang::ObjCMethodDecl::ImplementationControl impControl = clang::ObjCMethodDecl::None; in BuildMethod()
372 clang::ObjCMethodDecl *ret = clang::ObjCMethodDecl::Create(ast_ctx, in BuildMethod()
533 clang::ObjCMethodDecl *method_decl = method_type.BuildMethod (interface_decl, name, true); in FinishDecl()
548 clang::ObjCMethodDecl *method_decl = method_type.BuildMethod (interface_decl, name, false); in FinishDecl()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DObjCRetainCount.h28 class ObjCMethodDecl; variable
217 static CallEffects getEffect(const ObjCMethodDecl *MD);

123456