Home
last modified time | relevance | path

Searched refs:ObjCContainerDecl (Results 1 – 25 of 33) sorted by relevance

12

/external/clang/lib/AST/
DDeclObjC.cpp51 void ObjCContainerDecl::anchor() { } in anchor()
56 ObjCContainerDecl::getIvarDecl(IdentifierInfo *Id) const { in getIvarDecl()
68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance) const { in getMethod()
128 ObjCContainerDecl::FindPropertyDeclaration(IdentifierInfo *PropertyId) const { in FindPropertyDeclaration()
222 for (ObjCContainerDecl::prop_iterator P = prop_begin(), in collectPropertiesToImplement()
579 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclaration()
604 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl()
774 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse()
845 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container, in CollectOverriddenMethods()
886 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()), in collectOverriddenMethodsSlow()
[all …]
DMangle.cpp138 const ObjCContainerDecl *CD = in mangleObjCMethodName()
139 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodName()
DRecordLayoutBuilder.cpp2618 const ObjCContainerDecl *Key = in getObjCLayout()
2619 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
/external/clang/include/clang/AST/
DDeclObjC.h486 class ObjCContainerDecl : public NamedDecl, public DeclContext {
496 ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() function
583 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext()
584 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D)); in castToDeclContext()
586 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
587 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
616 class ObjCInterfaceDecl : public ObjCContainerDecl
715 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1231 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1240 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
[all …]
DASTMutationListener.h27 class ObjCContainerDecl; variable
DASTContext.h140 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
152 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
1943 void ResetObjCLayout(const ObjCContainerDecl *CD) { in ResetObjCLayout()
DDeclBase.h40 class ObjCContainerDecl; variable
/external/clang/lib/Sema/
DSemaObjCProperty.cpp170 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty()
503 ObjCContainerDecl *CDecl, in CreatePropertyDecl()
797 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl()
798 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl()
1483 void Sema::CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
1484 ObjCContainerDecl::PropertyMap &PropMap, in CollectImmediateProperties()
1485 ObjCContainerDecl::PropertyMap &SuperPropMap) { in CollectImmediateProperties()
1487 for (ObjCContainerDecl::prop_iterator P = IDecl->prop_begin(), in CollectImmediateProperties()
1500 for (ObjCContainerDecl::prop_iterator P = CATDecl->prop_begin(), in CollectImmediateProperties()
1560 for (ObjCContainerDecl::prop_iterator P = IFace->prop_begin(), in IvarBacksCurrentMethodAccessor()
[all …]
DSemaDeclObjC.cpp378 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef()
379 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
1569 ObjCContainerDecl *CDecl) { in CheckProtocolMethodDefs()
1674 ObjCContainerDecl* CDecl, in MatchAllMethodDeclarations()
1813 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods()
2321 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
2399 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
2404 for (ObjCContainerDecl::prop_iterator I = CDecl->prop_begin(), in ActOnAtEnd()
2422 for (ObjCContainerDecl::prop_iterator I = Ext->prop_begin(), in ActOnAtEnd()
2656 ObjCContainerDecl *container in OverrideSearch()
[all …]
DSemaCodeComplete.cpp730 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) in getBasePriority()
3427 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
3444 static void AddObjCProperties(ObjCContainerDecl *Container, in AddObjCProperties()
3456 for (ObjCContainerDecl::prop_iterator P = Container->prop_begin(), in AddObjCProperties()
3469 for (ObjCContainerDecl::method_iterator M = Container->meth_begin(), in AddObjCProperties()
4823 static void AddObjCMethods(ObjCContainerDecl *Container, in AddObjCMethods()
4837 for (ObjCContainerDecl::method_iterator M = Container->meth_begin(), in AddObjCMethods()
5979 ObjCContainerDecl *Container in CodeCompleteObjCPropertyDefinition()
5980 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition()
6021 ObjCContainerDecl *Container in CodeCompleteObjCPropertySynthesizeIvar()
[all …]
DSemaDecl.cpp10037 assert(isa<ObjCContainerDecl>(IDecl) && in ActOnObjCContainerStartDefinition()
10613 ObjCContainerDecl *EnclosingDecl = cast<ObjCContainerDecl>(CurContext); in ActOnIvar()
10616 ObjCContainerDecl *EnclosingContext; in ActOnIvar()
10708 Ivar = ObjCIvarDecl::Create(Context, cast<ObjCContainerDecl>(CurContext), in ActOnLastBitfield()
10728 if (!Fields.empty() && isa<ObjCContainerDecl>(EnclosingDecl)) { in ActOnFields()
10729 ObjCContainerDecl *DC = cast<ObjCContainerDecl>(EnclosingDecl); in ActOnFields()
10873 if (isa<ObjCContainerDecl>(EnclosingDecl) && in ActOnFields()
11860 return (dyn_cast_or_null<ObjCContainerDecl>(CurContext)); in getObjCDeclContext()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp133 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) in isMigratable()
151 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) { in hasObjCImpl()
DTransProperties.cpp76 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCUnusedIVarsChecker.cpp78 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan()
80 for (ObjCContainerDecl::instmeth_iterator I = D->instmeth_begin(), in Scan()
DIvarInvalidationChecker.cpp180 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/
DCGObjCRuntime.h43 class ObjCContainerDecl; variable
196 const ObjCContainerDecl *CD) = 0;
DCGObjCMac.cpp900 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()
4967 const ObjCContainerDecl *CD, in GetNameForMethod()
DCGObjCGNU.cpp511 const ObjCContainerDecl *CD);
1826 for (ObjCContainerDecl::prop_iterator in GenerateProtocol()
2601 const ObjCContainerDecl *CD) { in GenerateMethod()
DCodeGenFunction.h57 class ObjCContainerDecl; variable
1342 const ObjCContainerDecl *CD,
/external/clang/tools/libclang/
DCursorVisitor.h221 bool VisitObjCContainerDecl(ObjCContainerDecl *D);
DCIndexUSRs.cpp77 void VisitObjCContainerDecl(const ObjCContainerDecl *CD);
317 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D) { in VisitObjCContainerDecl()
DIndexingContext.h474 bool handleObjCContainer(const ObjCContainerDecl *D,
/external/clang/include/clang/Sema/
DSema.h125 class ObjCContainerDecl; variable
2426 ObjCContainerDecl *CDecl);
2437 ObjCContainerDecl* IDecl,
2443 ObjCContainerDecl *CDecl,
2454 void CollectImmediateProperties(ObjCContainerDecl *CDecl,
2483 ObjCContainerDecl *CDecl,
2501 ObjCContainerDecl* IDecl);
2525 ObjCContainerDecl* IDecl,
6278 ObjCContainerDecl *CD,
6280 ObjCContainerDecl *lexicalDC = 0);
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp394 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag,
858 ObjCContainerDecl *CDecl = in getIvarAccessString()
859 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in getIvarAccessString()
3766 bool RewriteModernObjC::IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, in IsTagDefinedInsideClass()
3901 ObjCContainerDecl *IDecl = in RewriteLocallyDefinedNamedAggregates()
3902 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates()
7120 for (ObjCContainerDecl::prop_iterator I = PDecl->prop_begin(), in RewriteObjCProtocolMetaData()
7341 for (ObjCContainerDecl::prop_iterator I = CDecl->prop_begin(), in RewriteObjCClassMetaData()
7600 for (ObjCContainerDecl::prop_iterator I = CDecl->prop_begin(), in RewriteObjCCategoryImplDecl()
7786 ObjCContainerDecl *CDecl = in RewriteObjCIvarRefExpr()
[all …]
/external/clang/lib/Serialization/
DASTWriterDecl.cpp114 void VisitObjCContainerDecl(ObjCContainerDecl *D);
459 void ASTDeclWriter::VisitObjCContainerDecl(ObjCContainerDecl *D) { in VisitObjCContainerDecl()

12