Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/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()
236 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration()
972 cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getCanonicalDecl()
1290 Method = cast<ObjCContainerDecl>(Method->getDeclContext())-> in getOverriddenMethods()
1309 const auto *Container = cast<ObjCContainerDecl>(getParent()); in findPropertyDecl()
1487 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc), in ObjCInterfaceDecl()
[all …]
H A DMangle.cpp261 const ObjCContainerDecl *CD = in mangleObjCMethodNameWithoutSize()
262 dyn_cast<ObjCContainerDecl>(MD->getDeclContext()); in mangleObjCMethodNameWithoutSize()
H A DExternalASTMerger.cpp152 } else if (auto *ToContainer = dyn_cast<ObjCContainerDecl>(To)) { in Imported()
274 if (isa<ObjCContainerDecl>(D1) && isa<ObjCContainerDecl>(D2)) in IsSameDC()
H A DRecordLayoutBuilder.cpp3171 const ObjCContainerDecl *Key = in getObjCLayout()
3172 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp198 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty()
1053 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl()
1054 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl()
1701 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
1980 ObjCContainerDecl::PropertyMap PropMap; in DiagnoseUnimplementedProperties()
1985 ObjCContainerDecl::PropertyMap NoNeedToImplPropMap; in DiagnoseUnimplementedProperties()
2009 std::unique_ptr<ObjCContainerDecl::PropertyMap> LazyMap; in DiagnoseUnimplementedProperties()
2022 ObjCContainerDecl::PropertyMap NoNeedToImplPropMap; in DiagnoseUnimplementedProperties()
2065 for (ObjCContainerDecl::PropertyMap::iterator in DiagnoseUnimplementedProperties()
2118 ObjCContainerDecl::PropertyMap PM; in AtomicPropertySetterGetterRules()
[all …]
H A DSemaDeclObjC.cpp443 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef()
444 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
521 ObjCContainerDecl *CD, in diagnoseUseOfProtocols()
2666 ObjCContainerDecl *CDecl, in CheckProtocolMethodDefs()
3886 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
3964 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
4179 ObjCContainerDecl *container in OverrideSearch()
4180 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch()
4199 void searchFromContainer(ObjCContainerDecl *container) { in searchFromContainer()
4276 void search(ObjCContainerDecl *container) { in search()
[all …]
H A DSemaCodeComplete.cpp739 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) { in getBasePriority()
3937 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
6908 ObjCContainerDecl *Container = in CodeCompleteObjCPropertyDefinition()
6909 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition()
6947 ObjCContainerDecl *Container = in CodeCompleteObjCPropertySynthesizeIvar()
6948 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertySynthesizeIvar()
7774 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl()
7778 ObjCContainerDecl *SearchDecl = nullptr; in CodeCompleteObjCMethodDecl()
7789 SearchDecl = dyn_cast<ObjCContainerDecl>(D); in CodeCompleteObjCMethodDecl()
7794 SearchDecl = dyn_cast<ObjCContainerDecl>(DC); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaCXXScopeSpec.cpp1014 if (isa<ObjCContainerDecl>(CurContext) || isa<ObjCMethodDecl>(CurContext)) in ShouldEnterDeclaratorScope()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp128 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) in isMigratable()
145 if (ObjCContainerDecl *ContD = dyn_cast<ObjCContainerDecl>(D)) { in hasObjCImpl()
H A 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()
1155 ObjCContainerDecl *D, in migrateProperty()
1292 ObjCContainerDecl *CDecl, in migrateFactoryMethod()
[all …]
H A DTransProperties.cpp77 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclObjC.h969 class ObjCContainerDecl : public NamedDecl, public DeclContext {
980 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1172 class ObjCInterfaceDecl : public ObjCContainerDecl
1317 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1954 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1963 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
2064 class ObjCProtocolDecl : public ObjCContainerDecl,
2234 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
2280 class ObjCCategoryDecl : public ObjCContainerDecl {
2425 class ObjCImplDecl : public ObjCContainerDecl {
[all …]
H A DASTMutationListener.h32 class ObjCContainerDecl; variable
H A DASTContext.h107 class ObjCContainerDecl; variable
243 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
260 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
2605 void ResetObjCLayout(const ObjCContainerDecl *CD);
H A DDeclBase.h56 class ObjCContainerDecl; variable
1613 friend class ObjCContainerDecl; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCRuntime.h44 class ObjCContainerDecl; variable
208 const ObjCContainerDecl *CD) = 0;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DCodegenNameGenerator.cpp76 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings()
100 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings()
H A DUSRGeneration.cpp91 void VisitObjCContainerDecl(const ObjCContainerDecl *CD,
411 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D, in VisitObjCContainerDecl()
H A DIndexDecl.cpp366 const ObjCContainerDecl *ContD, in handleReferencedProtocols()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTImporter.cpp862 } else if (ObjCContainerDecl *container_decl = in ExecuteDeportWorkQueues()
863 dyn_cast<ObjCContainerDecl>(decl)) { in ExecuteDeportWorkQueues()
1072 if (isa<ObjCContainerDecl>(from)) { in Imported()
1073 ObjCContainerDecl *to_container_decl = dyn_cast<ObjCContainerDecl>(to); in Imported()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp78 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan()
H A DGCDAntipatternChecker.cpp83 if (const auto *CD = dyn_cast<ObjCContainerDecl>(OD->getParent())) { in isTest()
H A DIvarInvalidationChecker.cpp180 static void containsInvalidationMethod(const ObjCContainerDecl *D,
240 const ObjCContainerDecl *D, InvalidationInfo &OutInfo, bool Partial) { in containsInvalidationMethod()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp718 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp399 bool IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, TagDecl *Tag,
860 ObjCContainerDecl *CDecl = in getIvarAccessString()
861 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in getIvarAccessString()
3603 bool RewriteModernObjC::IsTagDefinedInsideClass(ObjCContainerDecl *IDecl, in IsTagDefinedInsideClass()
3733 ObjCContainerDecl *IDecl = in RewriteLocallyDefinedNamedAggregates()
3734 dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); in RewriteLocallyDefinedNamedAggregates()
7507 ObjCContainerDecl *CDecl = in RewriteObjCIvarRefExpr()
7508 dyn_cast<ObjCContainerDecl>(D->getDeclContext()); in RewriteObjCIvarRefExpr()

12