Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclObjC.cpp68 ObjCContainerDecl::ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() function in ObjCContainerDecl
75 void ObjCContainerDecl::anchor() {} in anchor()
80 ObjCContainerDecl::getIvarDecl(IdentifierInfo *Id) const { in getIvarDecl()
92 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod()
124 bool ObjCContainerDecl::HasUserDeclaredSetterMethod( in HasUserDeclaredSetterMethod()
237 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration()
953 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
988 cast<ObjCContainerDecl>(CtxD)->getMethod(Sel, isInstanceMethod(), in getCanonicalDecl()
1201 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse()
1261 static inline void CollectOverriddenMethods(const ObjCContainerDecl *Container, in CollectOverriddenMethods()
[all …]
H A DExternalASTMerger.cpp238 } else if (auto *ToContainer = dyn_cast<ObjCContainerDecl>(To)) { in Imported()
359 if (isa<ObjCContainerDecl>(D1) && isa<ObjCContainerDecl>(D2)) in IsSameDC()
H A DMangle.cpp368 dyn_cast<ObjCContainerDecl>(MD->getDeclContext())) { in mangleObjCMethodName()
445 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings()
469 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings()
H A DRecordLayoutBuilder.cpp3428 const ObjCContainerDecl *Key = in getObjCLayout()
3429 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaObjCProperty.cpp193 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty()
396 OldContextName = cast<ObjCContainerDecl>(OldDC)->getIdentifier(); in checkAtomicPropertyMismatch()
559 ObjCContainerDecl *CDecl, in CreatePropertyDecl()
1085 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl()
1086 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl()
1756 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
1757 ObjCContainerDecl::PropertyMap &PropMap, in CollectImmediateProperties()
1758 ObjCContainerDecl::PropertyMap &SuperPropMap, in CollectImmediateProperties()
1998 ObjCImplDecl *IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor()
2034 ObjCContainerDecl *CDecl, in DiagnoseUnimplementedProperties()
[all …]
H A DSemaDeclObjC.cpp444 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef()
445 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
526 ObjCContainerDecl *CD, in diagnoseUseOfProtocols()
2688 ObjCContainerDecl *CDecl, in CheckProtocolMethodDefs()
2819 ObjCContainerDecl* CDecl, in MatchAllMethodDeclarations()
2967 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods()
3832 static void DiagnoseVariableSizedIvars(Sema &S, ObjCContainerDecl *OCD) { in DiagnoseVariableSizedIvars()
3972 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
4067 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
4288 const ObjCContainerDecl *container in OverrideSearch()
[all …]
H A DSemaCodeComplete.cpp984 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) { in getBasePriority()
4538 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
4595 ObjCContainerDecl *Container, bool AllowCategories, in AddObjCProperties()
6941 static void AddObjCMethods(ObjCContainerDecl *Container, in AddObjCMethods()
8047 ObjCContainerDecl *Container = in CodeCompleteObjCPropertyDefinition()
8048 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition()
8086 ObjCContainerDecl *Container = in CodeCompleteObjCPropertySynthesizeIvar()
8087 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertySynthesizeIvar()
8181 ObjCContainerDecl *Container, in FindImplementableMethods()
8913 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaCXXScopeSpec.cpp1025 if (isa<ObjCContainerDecl>(CurContext) || isa<ObjCMethodDecl>(CurContext)) in ShouldEnterDeclaratorScope()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp130 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) in isMigratable()
147 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) { in hasObjCImpl()
H A DObjCMT.cpp50 void migrateObjCContainerDecl(ASTContext &Ctx, ObjCContainerDecl *D);
56 void migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl);
57 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl,
59 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM);
62 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl,
79 void migrateARCSafeAnnotation(ASTContext &Ctx, ObjCContainerDecl *CDecl);
566 static bool IsCategoryNameWithDeprecatedSuffix(ObjCContainerDecl *D) { in IsCategoryNameWithDeprecatedSuffix()
575 ObjCContainerDecl *D) { in migrateObjCContainerDecl()
1002 ObjCContainerDecl *CDecl, in migrateMethodInstanceType()
1156 ObjCContainerDecl *D, in migrateProperty()
[all …]
H A DTransProperties.cpp76 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclObjC.h945 class ObjCContainerDecl : public NamedDecl, public DeclContext {
956 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1114 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext()
1115 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D)); in castToDeclContext()
1118 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
1119 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
1148 class ObjCInterfaceDecl : public ObjCContainerDecl
1293 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1930 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1939 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
[all …]
H A DASTMutationListener.h31 class ObjCContainerDecl; variable
H A DASTContext.h114 class ObjCContainerDecl; variable
265 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
282 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
2739 void ResetObjCLayout(const ObjCContainerDecl *CD);
H A DDeclBase.h57 class ObjCContainerDecl; variable
1716 friend class ObjCContainerDecl;
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjCRuntime.h44 class ObjCContainerDecl; variable
240 const ObjCContainerDecl *CD) = 0;
246 const ObjCContainerDecl *CD) = 0;
H A DCGObjCGNU.cpp459 const ObjCContainerDecl *OCD,
600 const ObjCContainerDecl *CD) override;
603 const ObjCContainerDecl *CD) override;
3305 const ObjCContainerDecl *OCD, in GeneratePropertyList()
3870 const ObjCContainerDecl *CD) { in GenerateMethod()
3887 const ObjCContainerDecl *CD) { in GenerateDirectMethodPrologue()
H A DCGObjCMac.cpp1013 const ObjCContainerDecl *OCD,
1094 const ObjCContainerDecl *CD=nullptr) override;
1097 const ObjCContainerDecl *CD);
1101 const ObjCContainerDecl *CD) override;
3287 const ObjCContainerDecl *OCD, in EmitPropertyList()
4022 const ObjCContainerDecl *CD) { in GenerateMethod()
4045 const ObjCContainerDecl *CD) { in GenerateDirectMethod()
4092 const ObjCContainerDecl *CD) { in GenerateDirectMethodPrologue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp77 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan()
H A DGCDAntipatternChecker.cpp80 if (const auto *CD = dyn_cast<ObjCContainerDecl>(OD->getParent())) { in isTest()
H A DIvarInvalidationChecker.cpp179 static void containsInvalidationMethod(const ObjCContainerDecl *D,
239 const ObjCContainerDecl *D, InvalidationInfo &OutInfo, bool Partial) { in containsInvalidationMethod()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCursorVisitor.h224 bool VisitObjCContainerDecl(ObjCContainerDecl *D);
H A DCXIndexDataConsumer.h450 bool handleObjCContainer(const ObjCContainerDecl *D,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DUSRGeneration.cpp92 void VisitObjCContainerDecl(const ObjCContainerDecl *CD,
417 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D, in VisitObjCContainerDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DBodyFarm.cpp719 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()

12