/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() 194 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration() 844 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl() 869 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl() 1072 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse() 1134 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container, in CollectOverriddenMethods() 1177 dyn_cast_or_null<ObjCContainerDecl>(Method->getDeclContext()), in collectOverriddenMethodsSlow() [all …]
|
D | Mangle.cpp | 262 const ObjCContainerDecl *CD = in mangleObjCMethodName() 263 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodName()
|
D | RecordLayoutBuilder.cpp | 3052 const ObjCContainerDecl *Key = in getObjCLayout() 3053 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 198 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty() 401 OldContextName = cast<ObjCContainerDecl>(OldDC)->getIdentifier(); in checkAtomicPropertyMismatch() 556 ObjCContainerDecl *CDecl, in CreatePropertyDecl() 892 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl() 893 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl() 1518 static void CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties() 1519 ObjCContainerDecl::PropertyMap &PropMap, in CollectImmediateProperties() 1520 ObjCContainerDecl::PropertyMap &SuperPropMap, in CollectImmediateProperties() 1733 ObjCContainerDecl *CDecl, in DiagnoseUnimplementedAccessor() 1760 ObjCContainerDecl *CDecl, in DiagnoseUnimplementedProperties() [all …]
|
D | SemaDeclObjC.cpp | 373 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef() 374 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef() 453 ObjCContainerDecl *CD, in diagnoseUseOfProtocols() 2570 ObjCContainerDecl *CDecl, in CheckProtocolMethodDefs() 2701 ObjCContainerDecl* CDecl, in MatchAllMethodDeclarations() 2840 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods() 3557 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd() 3635 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd() 3827 ObjCContainerDecl *container in OverrideSearch() 3828 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch() [all …]
|
D | SemaCodeComplete.cpp | 727 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) in getBasePriority() 3546 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef() 3564 ObjCContainerDecl *Container, in AddObjCProperties() 5014 static void AddObjCMethods(ObjCContainerDecl *Container, in AddObjCMethods() 6144 ObjCContainerDecl *Container in CodeCompleteObjCPropertyDefinition() 6145 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition() 6185 ObjCContainerDecl *Container in CodeCompleteObjCPropertySynthesizeIvar() 6186 = dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertySynthesizeIvar() 6280 ObjCContainerDecl *Container, in FindImplementableMethods() 7032 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl() [all …]
|
D | SemaDecl.cpp | 12679 assert(isa<ObjCContainerDecl>(IDecl) && in ActOnObjCContainerStartDefinition() 13292 ObjCContainerDecl *EnclosingDecl = cast<ObjCContainerDecl>(CurContext); in ActOnIvar() 13295 ObjCContainerDecl *EnclosingContext; in ActOnIvar() 13387 Ivar = ObjCIvarDecl::Create(Context, cast<ObjCContainerDecl>(CurContext), in ActOnLastBitfield() 13405 if (!Fields.empty() && isa<ObjCContainerDecl>(EnclosingDecl)) { in ActOnFields() 13406 ObjCContainerDecl *DC = cast<ObjCContainerDecl>(EnclosingDecl); in ActOnFields() 13555 if (isa<ObjCContainerDecl>(EnclosingDecl) && in ActOnFields() 14769 return (dyn_cast_or_null<ObjCContainerDecl>(CurContext)); in getObjCDeclContext()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 694 class ObjCContainerDecl : public NamedDecl, public DeclContext { 704 ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() function 818 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext() 819 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D)); in castToDeclContext() 821 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 822 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext() 851 class ObjCInterfaceDecl : public ObjCContainerDecl 990 return ObjCContainerDecl::getSourceRange(); in getSourceRange() 1616 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl() 1625 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC, [all …]
|
D | ASTMutationListener.h | 29 class ObjCContainerDecl; variable
|
D | ASTContext.h | 154 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*> 165 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls; 2259 void ResetObjCLayout(const ObjCContainerDecl *CD) { in ResetObjCLayout()
|
D | DeclBase.h | 45 class ObjCContainerDecl; variable
|
/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); 563 static bool IsCategoryNameWithDeprecatedSuffix(ObjCContainerDecl *D) { in IsCategoryNameWithDeprecatedSuffix() 572 ObjCContainerDecl *D) { in migrateObjCContainerDecl() 1010 ObjCContainerDecl *CDecl, in migrateMethodInstanceType() 1165 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 205 const ObjCContainerDecl *CD) = 0;
|
D | CGObjCMac.cpp | 882 const ObjCContainerDecl *CD, 969 const ObjCContainerDecl *OCD, 1038 const ObjCContainerDecl *CD=nullptr) override; 2909 const ObjCContainerDecl *OCD, in EmitPropertyList() 3554 const ObjCContainerDecl *CD) { in GenerateMethod() 5074 const ObjCContainerDecl *CD, in GetNameForMethod()
|
D | CodeGenFunction.h | 63 class ObjCContainerDecl; variable 1229 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 | 223 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); 346 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() 3669 bool RewriteModernObjC::IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, in IsTagDefinedInsideClass() 3800 ObjCContainerDecl *IDecl = in RewriteLocallyDefinedNamedAggregates() 3801 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates() 7640 ObjCContainerDecl *CDecl = in RewriteObjCIvarRefExpr() 7641 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in RewriteObjCIvarRefExpr()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 121 void VisitObjCContainerDecl(ObjCContainerDecl *D); 640 void ASTDeclWriter::VisitObjCContainerDecl(ObjCContainerDecl *D) { in VisitObjCContainerDecl()
|