Home
last modified time | relevance | path

Searched refs:ObjCContainerDecl (Results 1 – 25 of 34) 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, in getMethod()
101 bool ObjCContainerDecl::HasUserDeclaredSetterMethod( in HasUserDeclaredSetterMethod()
185 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration()
763 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
788 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl()
969 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse()
1031 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container, in CollectOverriddenMethods()
1074 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()), in collectOverriddenMethodsSlow()
[all …]
DMangle.cpp265 const ObjCContainerDecl *CD = in mangleObjCMethodName()
266 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodName()
DRecordLayoutBuilder.cpp3028 const ObjCContainerDecl *Key = in getObjCLayout()
3029 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
/external/clang/include/clang/AST/
DDeclObjC.h508 class ObjCContainerDecl : public NamedDecl, public DeclContext {
518 ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() function
632 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext()
633 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D)); in castToDeclContext()
635 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
636 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
665 class ObjCInterfaceDecl : public ObjCContainerDecl
782 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1402 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1411 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
[all …]
DASTMutationListener.h29 class ObjCContainerDecl; variable
DASTContext.h153 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
164 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
2073 void ResetObjCLayout(const ObjCContainerDecl *CD) { in ResetObjCLayout()
DDeclBase.h45 class ObjCContainerDecl; variable
/external/clang/lib/Sema/
DSemaObjCProperty.cpp167 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty()
524 ObjCContainerDecl *CDecl, in CreatePropertyDecl()
806 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl()
807 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl()
1424 static void CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
1425 ObjCContainerDecl::PropertyMap &PropMap, in CollectImmediateProperties()
1426 ObjCContainerDecl::PropertyMap &SuperPropMap, in CollectImmediateProperties()
1627 ObjCContainerDecl *CDecl, in DiagnoseUnimplementedAccessor()
1654 ObjCContainerDecl *CDecl, in DiagnoseUnimplementedProperties()
1656 ObjCContainerDecl::PropertyMap PropMap; in DiagnoseUnimplementedProperties()
[all …]
DSemaDeclObjC.cpp372 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef()
373 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
1679 ObjCContainerDecl *CDecl, in CheckProtocolMethodDefs()
1810 ObjCContainerDecl* CDecl, in MatchAllMethodDeclarations()
1948 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods()
2609 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
2687 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
2879 ObjCContainerDecl *container in OverrideSearch()
2880 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch()
2899 void searchFromContainer(ObjCContainerDecl *container) { in searchFromContainer()
[all …]
DSemaCodeComplete.cpp727 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) in getBasePriority()
3486 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
3503 static void AddObjCProperties(ObjCContainerDecl *Container, in AddObjCProperties()
4942 static void AddObjCMethods(ObjCContainerDecl *Container, in AddObjCMethods()
6065 ObjCContainerDecl *Container in CodeCompleteObjCPropertyDefinition()
6066 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition()
6105 ObjCContainerDecl *Container in CodeCompleteObjCPropertySynthesizeIvar()
6106 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertySynthesizeIvar()
6200 ObjCContainerDecl *Container, in FindImplementableMethods()
6952 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl()
[all …]
DSemaDecl.cpp12097 assert(isa<ObjCContainerDecl>(IDecl) && in ActOnObjCContainerStartDefinition()
12694 ObjCContainerDecl *EnclosingDecl = cast<ObjCContainerDecl>(CurContext); in ActOnIvar()
12697 ObjCContainerDecl *EnclosingContext; in ActOnIvar()
12789 Ivar = ObjCIvarDecl::Create(Context, cast<ObjCContainerDecl>(CurContext), in ActOnLastBitfield()
12807 if (!Fields.empty() && isa<ObjCContainerDecl>(EnclosingDecl)) { in ActOnFields()
12808 ObjCContainerDecl *DC = cast<ObjCContainerDecl>(EnclosingDecl); in ActOnFields()
12957 if (isa<ObjCContainerDecl>(EnclosingDecl) && in ActOnFields()
14122 return (dyn_cast_or_null<ObjCContainerDecl>(CurContext)); in getObjCDeclContext()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp133 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) in isMigratable()
150 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) { in hasObjCImpl()
DObjCMT.cpp51 void migrateObjCContainerDecl(ASTContext &Ctx, ObjCContainerDecl *D);
57 void migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl);
58 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl,
60 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM);
63 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl,
78 void migrateARCSafeAnnotation(ASTContext &Ctx, ObjCContainerDecl *CDecl);
573 static bool IsCategoryNameWithDeprecatedSuffix(ObjCContainerDecl *D) { in IsCategoryNameWithDeprecatedSuffix()
582 ObjCContainerDecl *D) { in migrateObjCContainerDecl()
1022 ObjCContainerDecl *CDecl, in migrateMethodInstanceType()
1177 ObjCContainerDecl *D, in migrateProperty()
[all …]
DTransProperties.cpp77 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/external/clang/lib/CodeGen/
DCGObjCRuntime.h43 class ObjCContainerDecl; variable
196 const ObjCContainerDecl *CD) = 0;
DCGObjCMac.cpp903 const ObjCContainerDecl *CD,
983 const ObjCContainerDecl *OCD,
1045 const ObjCContainerDecl *CD=nullptr) override;
2778 const ObjCContainerDecl *OCD, in EmitPropertyList()
3342 const ObjCContainerDecl *CD) { in GenerateMethod()
4898 const ObjCContainerDecl *CD, in GetNameForMethod()
DCodeGenFunction.h62 class ObjCContainerDecl; variable
1142 void StartObjCMethod(const ObjCMethodDecl *MD, const ObjCContainerDecl *CD);
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCUnusedIVarsChecker.cpp78 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan()
DIvarInvalidationChecker.cpp183 static void containsInvalidationMethod(const ObjCContainerDecl *D,
242 const ObjCContainerDecl *D, InvalidationInfo &OutInfo, bool Partial) { in containsInvalidationMethod()
/external/clang/tools/libclang/
DCursorVisitor.h221 bool VisitObjCContainerDecl(ObjCContainerDecl *D);
DIndexingContext.h473 bool handleObjCContainer(const ObjCContainerDecl *D,
DIndexingContext.cpp365 bool IndexingContext::handleObjCContainer(const ObjCContainerDecl *D, in handleObjCContainer()
/external/clang/lib/Index/
DUSRGeneration.cpp83 void VisitObjCContainerDecl(const ObjCContainerDecl *CD);
348 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D) { in VisitObjCContainerDecl()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp400 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag,
867 ObjCContainerDecl *CDecl = in getIvarAccessString()
868 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in getIvarAccessString()
3688 bool RewriteModernObjC::IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, in IsTagDefinedInsideClass()
3819 ObjCContainerDecl *IDecl = in RewriteLocallyDefinedNamedAggregates()
3820 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates()
7663 ObjCContainerDecl *CDecl = in RewriteObjCIvarRefExpr()
7664 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in RewriteObjCIvarRefExpr()
/external/clang/include/clang/Sema/
DSema.h135 class ObjCContainerDecl; variable
2792 ObjCContainerDecl* IDecl,
2798 ObjCContainerDecl *CDecl,
2843 ObjCContainerDecl *CDecl,
2861 ObjCContainerDecl* IDecl);
2889 ObjCContainerDecl* IDecl,
6976 ObjCContainerDecl *CD,
6978 ObjCContainerDecl *lexicalDC = nullptr);

12