/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() 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 …]
|
D | Mangle.cpp | 265 const ObjCContainerDecl *CD = in mangleObjCMethodName() 266 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodName()
|
D | RecordLayoutBuilder.cpp | 3028 const ObjCContainerDecl *Key = in getObjCLayout() 3029 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 508 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 …]
|
D | ASTMutationListener.h | 29 class ObjCContainerDecl; variable
|
D | ASTContext.h | 153 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*> 164 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls; 2073 void ResetObjCLayout(const ObjCContainerDecl *CD) { in ResetObjCLayout()
|
D | DeclBase.h | 45 class ObjCContainerDecl; variable
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 167 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 …]
|
D | SemaDeclObjC.cpp | 372 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 …]
|
D | SemaCodeComplete.cpp | 727 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 …]
|
D | SemaDecl.cpp | 12097 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/ |
D | TransGCAttrs.cpp | 133 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) in isMigratable() 150 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) { in hasObjCImpl()
|
D | ObjCMT.cpp | 51 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 …]
|
D | TransProperties.cpp | 77 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.h | 43 class ObjCContainerDecl; variable 196 const ObjCContainerDecl *CD) = 0;
|
D | CGObjCMac.cpp | 903 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()
|
D | CodeGenFunction.h | 62 class ObjCContainerDecl; variable 1142 void StartObjCMethod(const ObjCMethodDecl *MD, const ObjCContainerDecl *CD);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCUnusedIVarsChecker.cpp | 78 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan()
|
D | IvarInvalidationChecker.cpp | 183 static void containsInvalidationMethod(const ObjCContainerDecl *D, 242 const ObjCContainerDecl *D, InvalidationInfo &OutInfo, bool Partial) { in containsInvalidationMethod()
|
/external/clang/tools/libclang/ |
D | CursorVisitor.h | 221 bool VisitObjCContainerDecl(ObjCContainerDecl *D);
|
D | IndexingContext.h | 473 bool handleObjCContainer(const ObjCContainerDecl *D,
|
D | IndexingContext.cpp | 365 bool IndexingContext::handleObjCContainer(const ObjCContainerDecl *D, in handleObjCContainer()
|
/external/clang/lib/Index/ |
D | USRGeneration.cpp | 83 void VisitObjCContainerDecl(const ObjCContainerDecl *CD); 348 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D) { in VisitObjCContainerDecl()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 400 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/ |
D | Sema.h | 135 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);
|