/external/clang/lib/AST/ |
D | DeclObjC.cpp | 51 void ObjCContainerDecl::anchor() { } in anchor() 56 ObjCContainerDecl::getIvarDecl(IdentifierInfo *Id) const { in getIvarDecl() 68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() 102 ObjCContainerDecl::HasUserDeclaredSetterMethod(const ObjCPropertyDecl *Property) const { in HasUserDeclaredSetterMethod() 128 for (ObjCContainerDecl::prop_iterator P = Cat->prop_begin(), in HasUserDeclaredSetterMethod() 195 ObjCContainerDecl::FindPropertyDeclaration(IdentifierInfo *PropertyId) const { in FindPropertyDeclaration() 289 for (ObjCContainerDecl::prop_iterator P = prop_begin(), in collectPropertiesToImplement() 668 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclaration() 693 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl() 863 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse() [all …]
|
D | Mangle.cpp | 117 const ObjCContainerDecl *CD = in mangleObjCMethodName() 118 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodName()
|
D | RecordLayoutBuilder.cpp | 2507 const ObjCContainerDecl *Key = in getObjCLayout() 2508 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 41 void migrateInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl); 42 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl, 44 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl, 269 for (ObjCContainerDecl::method_iterator M = D->meth_begin(), MEnd = D->meth_end(); in migrateObjCInterfaceDecl() 347 for (ObjCContainerDecl::method_iterator M = PDecl->meth_begin(), in ClassImplementsAllMethodsAndProperties() 586 ObjCContainerDecl *CDecl, in migrateMethodInstanceType() 628 ObjCContainerDecl *CDecl) { in migrateInstanceType() 630 for (ObjCContainerDecl::method_iterator M = CDecl->meth_begin(), in migrateInstanceType() 639 ObjCContainerDecl *CDecl, in migrateFactoryMethod() 734 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(*D)) in HandleTranslationUnit()
|
D | TransGCAttrs.cpp | 133 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) in isMigratable() 151 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) { in hasObjCImpl()
|
D | TransProperties.cpp | 76 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 486 class ObjCContainerDecl : public NamedDecl, public DeclContext { 496 ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() function 589 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext() 590 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D)); in castToDeclContext() 592 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 593 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext() 622 class ObjCInterfaceDecl : public ObjCContainerDecl 721 return ObjCContainerDecl::getSourceRange(); in getSourceRange() 1249 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl() 1258 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC, [all …]
|
D | ASTMutationListener.h | 27 class ObjCContainerDecl; variable
|
D | ASTContext.h | 142 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*> 154 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls; 1983 void ResetObjCLayout(const ObjCContainerDecl *CD) { in ResetObjCLayout()
|
D | DeclBase.h | 42 class ObjCContainerDecl; variable
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 170 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty() 503 ObjCContainerDecl *CDecl, in CreatePropertyDecl() 858 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl() 859 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl() 1464 void Sema::CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties() 1465 ObjCContainerDecl::PropertyMap &PropMap, in CollectImmediateProperties() 1466 ObjCContainerDecl::PropertyMap &SuperPropMap) { in CollectImmediateProperties() 1468 for (ObjCContainerDecl::prop_iterator P = IDecl->prop_begin(), in CollectImmediateProperties() 1481 for (ObjCContainerDecl::prop_iterator P = CATDecl->prop_begin(), in CollectImmediateProperties() 1541 for (ObjCContainerDecl::prop_iterator P = IFace->prop_begin(), in IvarBacksCurrentMethodAccessor() [all …]
|
D | SemaDeclObjC.cpp | 379 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef() 380 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef() 1614 ObjCContainerDecl *CDecl) { in CheckProtocolMethodDefs() 1715 ObjCContainerDecl* CDecl, in MatchAllMethodDeclarations() 1854 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods() 2503 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd() 2581 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd() 2586 for (ObjCContainerDecl::prop_iterator I = CDecl->prop_begin(), in ActOnAtEnd() 2604 for (ObjCContainerDecl::prop_iterator I = Ext->prop_begin(), in ActOnAtEnd() 2838 ObjCContainerDecl *container in OverrideSearch() [all …]
|
D | SemaCodeComplete.cpp | 730 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) in getBasePriority() 3446 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef() 3463 static void AddObjCProperties(ObjCContainerDecl *Container, in AddObjCProperties() 3475 for (ObjCContainerDecl::prop_iterator P = Container->prop_begin(), in AddObjCProperties() 3488 for (ObjCContainerDecl::method_iterator M = Container->meth_begin(), in AddObjCProperties() 4844 static void AddObjCMethods(ObjCContainerDecl *Container, in AddObjCMethods() 4857 for (ObjCContainerDecl::method_iterator M = Container->meth_begin(), in AddObjCMethods() 5986 ObjCContainerDecl *Container in CodeCompleteObjCPropertyDefinition() 5987 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition() 6028 ObjCContainerDecl *Container in CodeCompleteObjCPropertySynthesizeIvar() [all …]
|
D | SemaDecl.cpp | 10802 assert(isa<ObjCContainerDecl>(IDecl) && in ActOnObjCContainerStartDefinition() 11387 ObjCContainerDecl *EnclosingDecl = cast<ObjCContainerDecl>(CurContext); in ActOnIvar() 11390 ObjCContainerDecl *EnclosingContext; in ActOnIvar() 11482 Ivar = ObjCIvarDecl::Create(Context, cast<ObjCContainerDecl>(CurContext), in ActOnLastBitfield() 11502 if (!Fields.empty() && isa<ObjCContainerDecl>(EnclosingDecl)) { in ActOnFields() 11503 ObjCContainerDecl *DC = cast<ObjCContainerDecl>(EnclosingDecl); in ActOnFields() 11647 if (isa<ObjCContainerDecl>(EnclosingDecl) && in ActOnFields() 12680 return (dyn_cast_or_null<ObjCContainerDecl>(CurContext)); in getObjCDeclContext()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 78 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan() 80 for (ObjCContainerDecl::instmeth_iterator I = D->instmeth_begin(), in Scan()
|
D | IvarInvalidationChecker.cpp | 180 static void containsInvalidationMethod(const ObjCContainerDecl *D, 241 const ObjCContainerDecl *D, InvalidationInfo &OutInfo, bool Partial) { in containsInvalidationMethod() 250 for (ObjCContainerDecl::method_iterator in containsInvalidationMethod()
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.h | 43 class ObjCContainerDecl; variable 196 const ObjCContainerDecl *CD) = 0;
|
D | CGObjCMac.cpp | 900 const ObjCContainerDecl *CD, 979 const ObjCContainerDecl *OCD, 1043 const ObjCContainerDecl *CD=0); 2782 for (ObjCContainerDecl::prop_iterator I = PROTO->prop_begin(), in PushProtocolProperties() 2809 const ObjCContainerDecl *OCD, in EmitPropertyList() 2813 for (ObjCContainerDecl::prop_iterator I = OCD->prop_begin(), in EmitPropertyList() 3406 const ObjCContainerDecl *CD) { in GenerateMethod() 4970 const ObjCContainerDecl *CD, in GetNameForMethod()
|
D | CodeGenFunction.h | 59 class ObjCContainerDecl; variable 1069 const ObjCContainerDecl *CD,
|
D | CGObjCGNU.cpp | 513 const ObjCContainerDecl *CD); 1851 for (ObjCContainerDecl::prop_iterator in GenerateProtocol() 2626 const ObjCContainerDecl *CD) { in GenerateMethod()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 221 bool VisitObjCContainerDecl(ObjCContainerDecl *D);
|
D | CIndexUSRs.cpp | 77 void VisitObjCContainerDecl(const ObjCContainerDecl *CD); 316 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D) { in VisitObjCContainerDecl()
|
D | IndexingContext.h | 477 bool handleObjCContainer(const ObjCContainerDecl *D,
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 131 class ObjCContainerDecl; variable 2555 ObjCContainerDecl *CDecl); 2566 ObjCContainerDecl* IDecl, 2572 ObjCContainerDecl *CDecl); 2582 void CollectImmediateProperties(ObjCContainerDecl *CDecl, 2611 ObjCContainerDecl *CDecl, 2629 ObjCContainerDecl* IDecl); 2653 ObjCContainerDecl* IDecl, 6534 ObjCContainerDecl *CD, 6536 ObjCContainerDecl *lexicalDC = 0);
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 394 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag, 858 ObjCContainerDecl *CDecl = in getIvarAccessString() 859 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in getIvarAccessString() 3770 bool RewriteModernObjC::IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, in IsTagDefinedInsideClass() 3905 ObjCContainerDecl *IDecl = in RewriteLocallyDefinedNamedAggregates() 3906 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates() 7126 for (ObjCContainerDecl::prop_iterator I = PDecl->prop_begin(), in RewriteObjCProtocolMetaData() 7347 for (ObjCContainerDecl::prop_iterator I = CDecl->prop_begin(), in RewriteObjCClassMetaData() 7606 for (ObjCContainerDecl::prop_iterator I = CDecl->prop_begin(), in RewriteObjCCategoryImplDecl() 7792 ObjCContainerDecl *CDecl = in RewriteObjCIvarRefExpr() [all …]
|