Home
last modified time | relevance | path

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

12

/freebsd-14.2/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()
249 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration()
1004 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
1365 Method = cast<ObjCContainerDecl>(Method->getDeclContext()) in getOverriddenMethods()
1385 const auto *Container = cast<ObjCContainerDecl>(getParent()); in findPropertyDecl()
1573 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc), in ObjCInterfaceDecl()
[all …]
H A DExternalASTMerger.cpp235 } else if (auto *ToContainer = dyn_cast<ObjCContainerDecl>(To)) { in Imported()
356 if (isa<ObjCContainerDecl>(D1) && isa<ObjCContainerDecl>(D2)) in IsSameDC()
H A DMangle.cpp376 dyn_cast<ObjCContainerDecl>(MD->getDeclContext())) { in mangleObjCMethodName()
453 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings()
477 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h171 const ObjCContainerDecl *FirstContainer,
174 const ObjCContainerDecl *SecondContainer,
H A DDeclObjC.h944 class ObjCContainerDecl : public NamedDecl, public DeclContext {
955 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1149 class ObjCInterfaceDecl : public ObjCContainerDecl
1306 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1956 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1965 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
2078 class ObjCProtocolDecl : public ObjCContainerDecl,
2275 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
2323 class ObjCCategoryDecl : public ObjCContainerDecl {
2468 class ObjCImplDecl : public ObjCContainerDecl {
[all …]
H A DASTMutationListener.h31 class ObjCContainerDecl; variable
H A DASTContext.h84 class ObjCContainerDecl; variable
269 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
286 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
2940 void ResetObjCLayout(const ObjCContainerDecl *CD);
H A DDeclBase.h57 class ObjCContainerDecl; variable
1918 friend class ObjCContainerDecl;
/freebsd-14.2/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);
562 static bool IsCategoryNameWithDeprecatedSuffix(ObjCContainerDecl *D) { in IsCategoryNameWithDeprecatedSuffix()
571 ObjCContainerDecl *D) { in migrateObjCContainerDecl()
1152 ObjCContainerDecl *D, in migrateProperty()
1289 ObjCContainerDecl *CDecl, in migrateFactoryMethod()
[all …]
H A DTransProperties.cpp76 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/freebsd-14.2/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()
1754 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
2032 ObjCContainerDecl::PropertyMap PropMap; in DiagnoseUnimplementedProperties()
2037 ObjCContainerDecl::PropertyMap NoNeedToImplPropMap; in DiagnoseUnimplementedProperties()
2060 std::unique_ptr<ObjCContainerDecl::PropertyMap> LazyMap; in DiagnoseUnimplementedProperties()
2073 ObjCContainerDecl::PropertyMap NoNeedToImplPropMap; in DiagnoseUnimplementedProperties()
2116 for (ObjCContainerDecl::PropertyMap::iterator in DiagnoseUnimplementedProperties()
2167 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()
2981 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods()
3987 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
4082 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
4303 const ObjCContainerDecl *container in OverrideSearch()
4304 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch()
4400 void search(const ObjCContainerDecl *container) { in search()
4736 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration()
[all …]
H A DSemaCodeComplete.cpp1007 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) { in getBasePriority()
4929 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
8699 ObjCContainerDecl *Container = in CodeCompleteObjCPropertyDefinition()
8700 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertyDefinition()
8738 ObjCContainerDecl *Container = in CodeCompleteObjCPropertySynthesizeIvar()
8739 dyn_cast_or_null<ObjCContainerDecl>(CurContext); in CodeCompleteObjCPropertySynthesizeIvar()
9566 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl()
9570 ObjCContainerDecl *SearchDecl = nullptr; in CodeCompleteObjCMethodDecl()
9581 SearchDecl = dyn_cast<ObjCContainerDecl>(D); in CodeCompleteObjCMethodDecl()
9586 SearchDecl = dyn_cast<ObjCContainerDecl>(DC); in CodeCompleteObjCMethodDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h45 class ObjCContainerDecl; variable
241 const ObjCContainerDecl *CD) = 0;
247 const ObjCContainerDecl *CD) = 0;
H A DCGObjCGNU.cpp460 const ObjCContainerDecl *OCD,
601 const ObjCContainerDecl *CD) override;
608 const ObjCContainerDecl *CD) override;
2029 const ObjCContainerDecl *CD) override { in GenerateDirectMethodPrologue()
3505 const ObjCContainerDecl *OCD, in GeneratePropertyList()
4059 const ObjCContainerDecl *CD) { in GenerateMethod()
4112 const ObjCContainerDecl *CD) { in GenerateDirectMethodPrologue()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp57 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()
1140 if (auto *to_container_decl = dyn_cast<ObjCContainerDecl>(to)) { in Imported()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp76 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-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h142 const ObjCContainerDecl::method_range Methods);
145 const ObjCContainerDecl::prop_range Properties);
1288 const ObjCContainerDecl::method_range Methods) { in recordObjCMethods()
1322 const ObjCContainerDecl::prop_range Properties) { in recordObjCProperties()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp94 void VisitObjCContainerDecl(const ObjCContainerDecl *CD,
428 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D, in VisitObjCContainerDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h473 ObjCContainerDecl *getObjCDeclContext() const { in getObjCDeclContext()
1053 ObjCContainerDecl *DC;
1668 void HelperActionsForIvarDeclarations(ObjCContainerDecl *interfaceDecl,
1673 void ParseObjCClassInstanceVariables(ObjCContainerDecl *interfaceDecl,
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp761 auto *Container = cast<ObjCContainerDecl>(Prop->getDeclContext()); in findBackingIvar()

12