Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
1314 Method = cast<ObjCContainerDecl>(Method->getDeclContext()) in getOverriddenMethods()
1334 const auto *Container = cast<ObjCContainerDecl>(getParent()); in findPropertyDecl()
1522 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc), in ObjCInterfaceDecl()
[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.cpp3434 const ObjCContainerDecl *Key = in getObjCLayout()
3435 Impl ? (const ObjCContainerDecl*) Impl : (const ObjCContainerDecl*) D; in getObjCLayout()
/freebsd-13.1/contrib/llvm-project/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()
1156 ObjCContainerDecl *D, in migrateProperty()
1293 ObjCContainerDecl *CDecl, in migrateFactoryMethod()
[all …]
H A DTransProperties.cpp76 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp193 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty()
1085 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl()
1086 dyn_cast<ObjCContainerDecl>(CurContext); in ActOnPropertyImplDecl()
1755 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
2035 ObjCContainerDecl::PropertyMap PropMap; in DiagnoseUnimplementedProperties()
2040 ObjCContainerDecl::PropertyMap NoNeedToImplPropMap; in DiagnoseUnimplementedProperties()
2064 std::unique_ptr<ObjCContainerDecl::PropertyMap> LazyMap; in DiagnoseUnimplementedProperties()
2077 ObjCContainerDecl::PropertyMap NoNeedToImplPropMap; in DiagnoseUnimplementedProperties()
2120 for (ObjCContainerDecl::PropertyMap::iterator in DiagnoseUnimplementedProperties()
2171 ObjCContainerDecl::PropertyMap PM; in AtomicPropertySetterGetterRules()
[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()
3972 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
4067 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
4288 const ObjCContainerDecl *container in OverrideSearch()
4289 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch()
4385 void search(const ObjCContainerDecl *container) { in search()
4717 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration()
[all …]
H A DSemaCodeComplete.cpp984 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) { in getBasePriority()
4541 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
8050 ObjCContainerDecl *Container = in CodeCompleteObjCPropertyDefinition()
8051 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition()
8089 ObjCContainerDecl *Container = in CodeCompleteObjCPropertySynthesizeIvar()
8090 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertySynthesizeIvar()
8916 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl()
8920 ObjCContainerDecl *SearchDecl = nullptr; in CodeCompleteObjCMethodDecl()
8931 SearchDecl = dyn_cast<ObjCContainerDecl>(D); in CodeCompleteObjCMethodDecl()
8936 SearchDecl = dyn_cast<ObjCContainerDecl>(DC); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaCXXScopeSpec.cpp1039 if (isa<ObjCContainerDecl>(CurContext) || isa<ObjCMethodDecl>(CurContext)) in ShouldEnterDeclaratorScope()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h945 class ObjCContainerDecl : public NamedDecl, public DeclContext {
956 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
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,
2040 class ObjCProtocolDecl : public ObjCContainerDecl,
2218 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
2264 class ObjCCategoryDecl : public ObjCContainerDecl {
2409 class ObjCImplDecl : public ObjCContainerDecl {
[all …]
H A DASTMutationListener.h31 class ObjCContainerDecl; variable
H A DASTContext.h115 class ObjCContainerDecl; variable
266 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
283 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
2790 void ResetObjCLayout(const ObjCContainerDecl *CD);
H A DDeclBase.h57 class ObjCContainerDecl; variable
1716 friend class ObjCContainerDecl;
/freebsd-13.1/contrib/llvm-project/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;
3308 const ObjCContainerDecl *OCD, in GeneratePropertyList()
3873 const ObjCContainerDecl *CD) { in GenerateMethod()
3890 const ObjCContainerDecl *CD) { in GenerateDirectMethodPrologue()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp56 clang::ObjCContainerDecl::method_range noload_methods(oid->noload_decls()); in FindExternalVisibleDeclsByName()
H A DClangASTImporter.cpp272 } else if (auto *container_decl = dyn_cast<ObjCContainerDecl>(decl)) { in ~CompleteTagDeclsScope()
1181 if (auto *to_container_decl = dyn_cast<ObjCContainerDecl>(to)) { in Imported()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp92 void VisitObjCContainerDecl(const ObjCContainerDecl *CD,
417 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D, in VisitObjCContainerDecl()
H A DIndexDecl.cpp376 const ObjCContainerDecl *ContD, in handleReferencedProtocols()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp719 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()

12