Home
last modified time | relevance | path

Searched refs:ObjCContainerDecl (Results 1 – 25 of 37) 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()
213 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration()
876 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
901 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl()
1104 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse()
1166 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container, in CollectOverriddenMethods()
1209 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()), in collectOverriddenMethodsSlow()
[all …]
DMangle.cpp259 const ObjCContainerDecl *CD = in mangleObjCMethodNameWithoutSize()
260 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodNameWithoutSize()
DRecordLayoutBuilder.cpp3091 const ObjCContainerDecl *Key = in getObjCLayout()
3092 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp198 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty()
402 OldContextName = cast<ObjCContainerDecl>(OldDC)->getIdentifier(); in checkAtomicPropertyMismatch()
560 ObjCContainerDecl *CDecl, in CreatePropertyDecl()
903 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl()
904 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl()
1536 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
1537 ObjCContainerDecl::PropertyMap &PropMap, in CollectImmediateProperties()
1538 ObjCContainerDecl::PropertyMap &SuperPropMap, in CollectImmediateProperties()
1770 ObjCImplDecl *IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor()
1807 ObjCContainerDecl *CDecl, in DiagnoseUnimplementedProperties()
[all …]
DSemaDeclObjC.cpp372 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef()
373 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
452 ObjCContainerDecl *CD, in diagnoseUseOfProtocols()
2595 ObjCContainerDecl *CDecl, in CheckProtocolMethodDefs()
2726 ObjCContainerDecl* CDecl, in MatchAllMethodDeclarations()
2868 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods()
3705 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
3783 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
3976 ObjCContainerDecl *container in OverrideSearch()
3977 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch()
[all …]
DSemaCodeComplete.cpp744 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) in getBasePriority()
3559 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
3577 ObjCContainerDecl *Container, in AddObjCProperties()
5034 static void AddObjCMethods(ObjCContainerDecl *Container, in AddObjCMethods()
6164 ObjCContainerDecl *Container in CodeCompleteObjCPropertyDefinition()
6165 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition()
6205 ObjCContainerDecl *Container in CodeCompleteObjCPropertySynthesizeIvar()
6206 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertySynthesizeIvar()
6300 ObjCContainerDecl *Container, in FindImplementableMethods()
7052 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl()
[all …]
DSemaDecl.cpp13129 assert(isa<ObjCContainerDecl>(IDecl) && in ActOnObjCContainerStartDefinition()
13746 ObjCContainerDecl *EnclosingDecl = cast<ObjCContainerDecl>(CurContext); in ActOnIvar()
13749 ObjCContainerDecl *EnclosingContext; in ActOnIvar()
13841 Ivar = ObjCIvarDecl::Create(Context, cast<ObjCContainerDecl>(CurContext), in ActOnLastBitfield()
13859 if (!Fields.empty() && isa<ObjCContainerDecl>(EnclosingDecl)) { in ActOnFields()
13860 ObjCContainerDecl *DC = cast<ObjCContainerDecl>(EnclosingDecl); in ActOnFields()
14007 if (isa<ObjCContainerDecl>(EnclosingDecl) && in ActOnFields()
15236 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);
563 static bool IsCategoryNameWithDeprecatedSuffix(ObjCContainerDecl *D) { in IsCategoryNameWithDeprecatedSuffix()
572 ObjCContainerDecl *D) { in migrateObjCContainerDecl()
1011 ObjCContainerDecl *CDecl, in migrateMethodInstanceType()
1165 ObjCContainerDecl *D, in migrateProperty()
[all …]
DTransProperties.cpp77 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/external/clang/include/clang/AST/
DDeclObjC.h901 class ObjCContainerDecl : public NamedDecl, public DeclContext {
911 ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() function
1058 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext()
1059 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D)); in castToDeclContext()
1061 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
1062 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
1091 class ObjCInterfaceDecl : public ObjCContainerDecl
1230 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1858 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1867 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
[all …]
DASTMutationListener.h30 class ObjCContainerDecl; variable
DASTContext.h159 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
170 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
2284 void ResetObjCLayout(const ObjCContainerDecl *CD);
DDeclBase.h45 class ObjCContainerDecl; variable
/external/clang/lib/CodeGen/
DCGObjCRuntime.h43 class ObjCContainerDecl; variable
205 const ObjCContainerDecl *CD) = 0;
DCGObjCMac.cpp885 const ObjCContainerDecl *CD,
972 const ObjCContainerDecl *OCD,
1049 const ObjCContainerDecl *CD=nullptr) override;
2943 const ObjCContainerDecl *OCD, in EmitPropertyList()
3619 const ObjCContainerDecl *CD) { in GenerateMethod()
5143 const ObjCContainerDecl *CD, in GetNameForMethod()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCUnusedIVarsChecker.cpp78 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan()
DIvarInvalidationChecker.cpp180 static void containsInvalidationMethod(const ObjCContainerDecl *D,
240 const ObjCContainerDecl *D, InvalidationInfo &OutInfo, bool Partial) { in containsInvalidationMethod()
DLocalizationChecker.cpp667 if (auto *CD = dyn_cast<ObjCContainerDecl>(DC)) { in isDebuggingContext()
/external/clang/tools/libclang/
DCursorVisitor.h223 bool VisitObjCContainerDecl(ObjCContainerDecl *D);
DCXIndexDataConsumer.h482 bool handleObjCContainer(const ObjCContainerDecl *D,
/external/clang/lib/Index/
DUSRGeneration.cpp83 void VisitObjCContainerDecl(const ObjCContainerDecl *CD);
357 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D) { in VisitObjCContainerDecl()
DIndexDecl.cpp206 const ObjCContainerDecl *ContD) { in handleReferencedProtocols()
/external/clang/lib/Analysis/
DBodyFarm.cpp401 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp398 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag,
856 ObjCContainerDecl *CDecl = in getIvarAccessString()
857 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in getIvarAccessString()
3609 bool RewriteModernObjC::IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, in IsTagDefinedInsideClass()
3739 ObjCContainerDecl *IDecl = in RewriteLocallyDefinedNamedAggregates()
3740 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates()
7515 ObjCContainerDecl *CDecl = in RewriteObjCIvarRefExpr()
7516 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in RewriteObjCIvarRefExpr()

12