Home
last modified time | relevance | path

Searched refs:ObjCImplementationDecl (Results 1 – 25 of 41) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DCheckObjCInstMethSignature.cpp44 const ObjCImplementationDecl *ID) { in CompareReturnTypes()
74 static void CheckObjCInstMethSignature(const ObjCImplementationDecl* ID, in CheckObjCInstMethSignature()
90 for (ObjCImplementationDecl::instmeth_iterator I=ID->instmeth_begin(), in CheckObjCInstMethSignature()
129 check::ASTDecl<ObjCImplementationDecl> > {
131 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
DObjCUnusedIVarsChecker.cpp74 if (const ObjCImplementationDecl *ID = dyn_cast<ObjCImplementationDecl>(D)) { in Scan()
77 for (ObjCImplementationDecl::propimpl_iterator I = ID->propimpl_begin(), in Scan()
102 static void checkObjCUnusedIvar(const ObjCImplementationDecl *D, in checkObjCUnusedIvar()
173 check::ASTDecl<ObjCImplementationDecl> > {
175 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
DCheckObjCDealloc.cpp99 static void checkObjCDealloc(const ObjCImplementationDecl* D, in checkObjCDealloc()
160 for (ObjCImplementationDecl::instmeth_iterator I = D->instmeth_begin(), in checkObjCDealloc()
209 for (ObjCImplementationDecl::propimpl_iterator I = D->propimpl_begin(), in checkObjCDealloc()
271 check::ASTDecl<ObjCImplementationDecl> > {
273 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
277 checkObjCDealloc(cast<ObjCImplementationDecl>(D), mgr.getLangOptions(), BR); in checkASTDecl()
/external/clang/lib/AST/
DDeclObjC.cpp318 if (ObjCImplementationDecl *ImpDecl = getImplementation()) in lookupPrivateMethod()
362 if (ObjCImplementationDecl *ImplD = Ctx.getObjCImplementation(IFD)) in getNextRedeclaration()
369 } else if (ObjCImplementationDecl *ImplD = in getNextRedeclaration()
370 dyn_cast<ObjCImplementationDecl>(CtxD)) { in getNextRedeclaration()
386 if (ObjCImplementationDecl *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getCanonicalDecl()
591 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
599 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
632 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin()
634 ObjCImplementationDecl::ivar_iterator I = ImplDecl->ivar_begin(), in all_declared_ivar_begin()
748 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
[all …]
DDumpXML.cpp805 void visitObjCImplementationDeclAttrs(ObjCImplementationDecl *D) { in visitObjCImplementationDeclAttrs()
809 void visitObjCImplementationDeclChildren(ObjCImplementationDecl *D) { in visitObjCImplementationDeclChildren()
813 for (ObjCImplementationDecl::init_iterator in visitObjCImplementationDeclChildren()
DDeclPrinter.cpp67 void VisitObjCImplementationDecl(ObjCImplementationDecl *D);
274 isa<ObjCImplementationDecl>(*D) || in VisitDeclContext()
805 void DeclPrinter::VisitObjCImplementationDecl(ObjCImplementationDecl *OID) { in VisitObjCImplementationDecl()
/external/clang/test/Index/
Dannotate-tokens.m158 // CHECK: Punctuation: "@" [5:1 - 5:2] ObjCImplementationDecl=Foo:5:1 (Definition)
159 // CHECK: Keyword: "implementation" [5:2 - 5:16] ObjCImplementationDecl=Foo:5:1 (Definition)
160 // CHECK: Identifier: "Foo" [5:17 - 5:20] ObjCImplementationDecl=Foo:5:1 (Definition)
186 // CHECK: Punctuation: "@" [10:1 - 10:2] ObjCImplementationDecl=Foo:5:1 (Definition)
208 // CHECK: Punctuation: "@" [21:1 - 21:2] ObjCImplementationDecl=Bar:21:1 (Definition)
209 // CHECK: Keyword: "implementation" [21:2 - 21:16] ObjCImplementationDecl=Bar:21:1 (Definition)
210 // CHECK: Identifier: "Bar" [21:17 - 21:20] ObjCImplementationDecl=Bar:21:1 (Definition)
223 // CHECK: Punctuation: "@" [26:1 - 26:2] ObjCImplementationDecl=Bar:21:1 (Definition)
260 // CHECK: Punctuation: "@" [37:1 - 37:2] ObjCImplementationDecl=IBActionTests:37:1 (Definition)
261 // CHECK: Keyword: "implementation" [37:2 - 37:16] ObjCImplementationDecl=IBActionTests:37:1 (Defin…
[all …]
Dlocal-symbols.m34 // CHECK: local-symbols.m:12:1: ObjCImplementationDecl=Foo:12:1 (Definition) Extent=[12:1 - 16:2]
Dusrs.m177 // CHECK-source: usrs.m:34:1: ObjCImplementationDecl=Foo:34:1 (Definition) Extent=[34:1 - 45:2]
220 // CHECK-source: usrs.m:63:1: ObjCImplementationDecl=CWithExt:63:1 (Definition) Extent=[63:1 - 67:2]
/external/clang/lib/CodeGen/
DCGObjCRuntime.h46 class ObjCImplementationDecl; variable
80 const ObjCImplementationDecl *OID,
141 virtual void GenerateClass(const ObjCImplementationDecl *OID) = 0;
DCGObjCRuntime.cpp33 const ObjCImplementationDecl *ID, in LookupFieldBitOffset()
76 const ObjCImplementationDecl *OID, in ComputeIvarBaseOffset()
DCodeGenModule.h50 class ObjCImplementationDecl; variable
762 void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D);
763 void EmitObjCIvarInitializations(ObjCImplementationDecl *D);
DCGObjCMac.cpp767 llvm::Constant *BuildIvarLayout(const ObjCImplementationDecl *OI,
775 void BuildAggrIvarLayout(const ObjCImplementationDecl *OI,
886 llvm::Constant *EmitClassExtension(const ObjCImplementationDecl *ID);
906 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID,
916 llvm::Constant *EmitMetaClass(const ObjCImplementationDecl *ID,
1017 virtual void GenerateClass(const ObjCImplementationDecl *ClassDecl);
1107 const ObjCImplementationDecl *ID);
1128 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID);
1210 void GetClassSizeInfo(const ObjCImplementationDecl *OID,
1270 virtual void GenerateClass(const ObjCImplementationDecl *ClassDecl);
[all …]
DCodeGenModule.cpp1978 ObjCImplementationDecl *D) { in EmitObjCPropertyImplementations()
1979 for (ObjCImplementationDecl::propimpl_iterator in EmitObjCPropertyImplementations()
1994 const_cast<ObjCImplementationDecl *>(D), PID); in EmitObjCPropertyImplementations()
1998 const_cast<ObjCImplementationDecl *>(D), PID); in EmitObjCPropertyImplementations()
2003 static bool needsDestructMethod(ObjCImplementationDecl *impl) { in needsDestructMethod()
2016 void CodeGenModule::EmitObjCIvarInitializations(ObjCImplementationDecl *D) { in EmitObjCIvarInitializations()
2160 ObjCImplementationDecl *OMD = cast<ObjCImplementationDecl>(D); in EmitTopLevelDecl()
DCGObjC.cpp336 void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP, in GenerateObjCGetter()
546 void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP, in GenerateObjCSetter()
714 ObjCImplementationDecl *impl) { in emitCXXDestructMethod()
750 void CodeGenFunction::GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP, in GenerateObjCCtorDtorMethod()
762 for (ObjCImplementationDecl::init_const_iterator B = IMP->init_begin(), in GenerateObjCCtorDtorMethod()
DCGObjCGNU.cpp354 llvm::Constant *GeneratePropertyList(const ObjCImplementationDecl *OID,
449 virtual void GenerateClass(const ObjCImplementationDecl *ClassDecl);
1743 llvm::Constant *CGObjCGNU::GeneratePropertyList(const ObjCImplementationDecl *OID, in GeneratePropertyList()
1815 void CGObjCGNU::GenerateClass(const ObjCImplementationDecl *OID) { in GenerateClass()
1907 for (ObjCImplementationDecl::instmeth_iterator in GenerateClass()
1923 for (ObjCImplementationDecl::classmeth_iterator in GenerateClass()
DCodeGenFunction.h59 class ObjCImplementationDecl; variable
1249 void GenerateObjCGetter(ObjCImplementationDecl *IMP,
1255 void GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP,
1260 void GenerateObjCSetter(ObjCImplementationDecl *IMP,
/external/clang/include/clang/StaticAnalyzer/Checkers/
DLocalCheckers.h27 class ObjCImplementationDecl; variable
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp177 typedef DeclContext::specific_decl_iterator<ObjCImplementationDecl> in removeDeallocMethod()
181 for (ObjCImplementationDecl::instmeth_iterator in removeDeallocMethod()
DTransProperties.cpp65 void doTransform(ObjCImplementationDecl *D) { in doTransform()
354 bool TraverseObjCImplementationDecl(ObjCImplementationDecl *D) { in TraverseObjCImplementationDecl()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp64 !isa<ObjCImplementationDecl>(method->getDeclContext())) in checkInitMethod()
241 if (ObjCImplementationDecl *Impl = dyn_cast<ObjCImplementationDecl>(DC)) in CheckObjCMethodOverrides()
971 ObjCImplementationDecl* IMPDecl = in ActOnStartClassImplementation()
972 ObjCImplementationDecl::Create(Context, CurContext, AtClassImplLoc, in ActOnStartClassImplementation()
996 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars()
1539 for (ObjCImplementationDecl::instmeth_iterator in ImplMethodsVsClassMethods()
1551 for (ObjCImplementationDecl::classmeth_iterator in ImplMethodsVsClassMethods()
1594 for (ObjCImplementationDecl::instmeth_iterator in ImplMethodsVsClassMethods()
2026 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); in ActOnAtEnd()
2114 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) { in ActOnAtEnd()
[all …]
DSemaObjCProperty.cpp525 ObjCImplementationDecl *IC = 0; in ActOnPropertyImplDecl()
527 if ((IC = dyn_cast<ObjCImplementationDecl>(ClassImpDecl))) { in ActOnPropertyImplDecl()
1093 if (ObjCImplementationDecl *IMD = in isPropertyReadonly()
1094 dyn_cast<ObjCImplementationDecl>(OMD->getDeclContext())) { in isPropertyReadonly()
1104 if (ObjCImplementationDecl *ImpDecl = IDecl->getImplementation()) in isPropertyReadonly()
1398 void Sema::DiagnoseOwningPropertyGetterSynthesis(const ObjCImplementationDecl *D) { in DiagnoseOwningPropertyGetterSynthesis()
1402 for (ObjCImplementationDecl::propimpl_iterator in DiagnoseOwningPropertyGetterSynthesis()
DSemaExprObjC.cpp470 if (ObjCImplementationDecl *ImpDecl = ClassDecl->getImplementation()) in LookupPrivateClassMethod()
498 if (ObjCImplementationDecl *ImpDecl = ClassDecl->getImplementation()) in LookupPrivateInstanceMethod()
775 if (ObjCImplementationDecl *ImpDecl = ClassDecl->getImplementation()) in ActOnClassPropertyRefExpr()
796 if (ObjCImplementationDecl *ImpDecl = ClassDecl->getImplementation()) in ActOnClassPropertyRefExpr()
/external/clang/include/clang/AST/
DDeclObjC.h516 ObjCImplementationDecl *getImplementation() const;
517 void setImplementation(ObjCImplementationDecl *ImplD);
1248 class ObjCImplementationDecl : public ObjCImplDecl {
1262 ObjCImplementationDecl(DeclContext *DC, SourceLocation L, in ObjCImplementationDecl() function
1269 static ObjCImplementationDecl *Create(ASTContext &C, DeclContext *DC,
1364 static bool classof(const ObjCImplementationDecl *D) { return true; } in classof()
1372 const ObjCImplementationDecl *ID);
DASTContext.h1154 getASTObjCImplementationLayout(const ObjCImplementationDecl *D) const;
1509 ObjCImplementationDecl *getObjCImplementation(ObjCInterfaceDecl *D);
1520 ObjCImplementationDecl *ImplD);
1642 const ObjCImplementationDecl *Impl) const;

12