Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp68 ObjCContainerDecl::ObjCContainerDecl(Kind DK, DeclContext *DC, in ObjCContainerDecl() function in ObjCContainerDecl
76 void ObjCContainerDecl::anchor() {} in anchor()
81 ObjCContainerDecl::getIvarDecl(IdentifierInfo *Id) const { in getIvarDecl()
93 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod()
125 bool ObjCContainerDecl::HasUserDeclaredSetterMethod( in HasUserDeclaredSetterMethod()
236 ObjCPropertyDecl *ObjCContainerDecl::getProperty(const IdentifierInfo *Id, in getProperty()
250 ObjCPropertyDecl *ObjCContainerDecl::FindPropertyDeclaration( in FindPropertyDeclaration()
1004 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
1039 cast<ObjCContainerDecl>(CtxD)->getMethod(Sel, isInstanceMethod(), in getCanonicalDecl()
1252 static void CollectOverriddenMethodsRecurse(const ObjCContainerDecl *Container, in CollectOverriddenMethodsRecurse()
[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.cpp375 dyn_cast<ObjCContainerDecl>(MD->getDeclContext())) { in mangleObjCMethodName()
452 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings()
476 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DODRDiagsEmitter.h171 const ObjCContainerDecl *FirstContainer,
174 const ObjCContainerDecl *SecondContainer,
H A DDeclObjC.h947 class ObjCContainerDecl : public NamedDecl, public DeclContext {
958 ObjCContainerDecl(Kind DK, DeclContext *DC, const IdentifierInfo *Id,
1118 static DeclContext *castToDeclContext(const ObjCContainerDecl *D) { in castToDeclContext()
1119 return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D)); in castToDeclContext()
1122 static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
1123 return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
1152 class ObjCInterfaceDecl : public ObjCContainerDecl
1308 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1959 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1968 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
[all …]
H A DASTMutationListener.h32 class ObjCContainerDecl; variable
H A DASTContext.h85 class ObjCContainerDecl; variable
281 mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
298 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
3029 void ResetObjCLayout(const ObjCContainerDecl *CD);
H A DDeclBase.h58 class ObjCContainerDecl; variable
1928 friend class ObjCContainerDecl;
/freebsd/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()
998 ObjCContainerDecl *CDecl, in migrateMethodInstanceType()
1152 ObjCContainerDecl *D, in migrateProperty()
[all …]
H A DTransProperties.cpp76 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp193 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(SemaRef.CurContext); in ActOnProperty()
396 OldContextName = cast<ObjCContainerDecl>(OldDC)->getIdentifier(); in checkAtomicPropertyMismatch()
551 Scope *S, ObjCContainerDecl *CDecl, SourceLocation AtLoc, in CreatePropertyDecl()
1067 ObjCContainerDecl *ClassImpDecl = in ActOnPropertyImplDecl()
1068 dyn_cast<ObjCContainerDecl>(SemaRef.CurContext); in ActOnPropertyImplDecl()
1734 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties()
1735 ObjCContainerDecl::PropertyMap &PropMap, in CollectImmediateProperties()
1736 ObjCContainerDecl::PropertyMap &SuperPropMap, in CollectImmediateProperties()
1976 ObjCImplDecl *IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor()
2012 ObjCContainerDecl *CDecl, in DiagnoseUnimplementedProperties()
[all …]
H A DSemaDeclObjC.cpp452 ObjCContainerDecl *ContDeclOfMethodDecl = in ActOnStartOfObjCMethodDef()
453 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
538 ObjCContainerDecl *CD, in diagnoseUseOfProtocols()
2713 ObjCContainerDecl *CDecl, LazyProtocolNameSet &ProtocolsExplictImpl) { in CheckProtocolMethodDefs()
2837 ObjCContainerDecl *CDecl, bool &IncompleteImpl, bool ImmediateClass, in MatchAllMethodDeclarations()
2983 ObjCContainerDecl *CDecl, in ImplMethodsVsClassMethods()
3850 static void DiagnoseVariableSizedIvars(Sema &S, ObjCContainerDecl *OCD) { in DiagnoseVariableSizedIvars()
3992 auto *OCD = cast<ObjCContainerDecl>(SemaRef.CurContext); in ActOnAtEnd()
4088 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
4310 const ObjCContainerDecl *container in OverrideSearch()
[all …]
H A DSemaAPINotes.cpp683 static void ProcessAPINotes(Sema &S, ObjCContainerDecl *D, in ProcessAPINotes()
712 ProcessAPINotes(S, static_cast<clang::ObjCContainerDecl *>(D), Info, in ProcessAPINotes()
933 if (auto ObjCContainer = dyn_cast<ObjCContainerDecl>(D->getDeclContext())) { in ProcessAPINotes()
H A DSemaCodeComplete.cpp1014 if (DC->isRecord() || isa<ObjCContainerDecl>(DC)) { in getBasePriority()
4943 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) { in getContainerDef()
5000 ObjCContainerDecl *Container, bool AllowCategories, in AddObjCProperties()
7641 static void AddObjCMethods(ObjCContainerDecl *Container, in AddObjCMethods()
8790 ObjCContainerDecl *Container = in CodeCompleteObjCPropertyDefinition()
8791 dyn_cast_or_null<ObjCContainerDecl>(SemaRef.CurContext); in CodeCompleteObjCPropertyDefinition()
8830 ObjCContainerDecl *Container = in CodeCompleteObjCPropertySynthesizeIvar()
8831 dyn_cast_or_null<ObjCContainerDecl>(SemaRef.CurContext); in CodeCompleteObjCPropertySynthesizeIvar()
8926 ObjCContainerDecl *Container, in FindImplementableMethods()
9659 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(SemaRef.CurContext); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaObjC.cpp1275 void SemaObjC::ActOnObjCContainerStartDefinition(ObjCContainerDecl *IDecl) { in ActOnObjCContainerStartDefinition()
1288 ObjCContainerDecl *ObjCCtx) { in ActOnObjCTemporaryExitContainerContext()
1294 void SemaObjC::ActOnObjCReenterContainerContext(ObjCContainerDecl *ObjCCtx) { in ActOnObjCReenterContainerContext()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h128 void ActOnObjCContainerStartDefinition(ObjCContainerDecl *IDecl);
135 void ActOnObjCTemporaryExitContainerContext(ObjCContainerDecl *ObjCCtx);
136 void ActOnObjCReenterContainerContext(ObjCContainerDecl *ObjCCtx);
433 ObjCContainerDecl *IDecl, bool &IncompleteImpl, bool ImmediateClass,
444 ObjCContainerDecl *IDecl,
572 ObjCContainerDecl *getObjCDeclContext() const;
978 CreatePropertyDecl(Scope *S, ObjCContainerDecl *CDecl, SourceLocation AtLoc,
999 ObjCContainerDecl *CDecl,
/freebsd/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.cpp458 const ObjCContainerDecl *OCD,
599 const ObjCContainerDecl *CD) override;
606 const ObjCContainerDecl *CD) override;
2027 const ObjCContainerDecl *CD) override { in GenerateDirectMethodPrologue()
3504 const ObjCContainerDecl *OCD, in GeneratePropertyList()
4058 const ObjCContainerDecl *CD) { in GenerateMethod()
4111 const ObjCContainerDecl *CD) { in GenerateDirectMethodPrologue()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp58 clang::ObjCContainerDecl::method_range noload_methods(oid->noload_decls()); in FindExternalVisibleDeclsByName()
H A DClangASTImporter.cpp275 } else if (auto *container_decl = dyn_cast<ObjCContainerDecl>(decl)) { in ~CompleteTagDeclsScope()
1384 if (auto *to_container_decl = dyn_cast<ObjCContainerDecl>(to)) { in Imported()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp76 static void Scan(IvarUsageMap& M, const ObjCContainerDecl *D) { in Scan()
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h137 const ObjCContainerDecl::method_range Methods);
140 const ObjCContainerDecl::prop_range Properties);
1332 const ObjCContainerDecl::method_range Methods) { in recordObjCMethods()
1373 const ObjCContainerDecl::prop_range Properties) { in recordObjCProperties()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp94 void VisitObjCContainerDecl(const ObjCContainerDecl *CD,
439 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D, in VisitObjCContainerDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h507 ObjCContainerDecl *getObjCDeclContext() const { in getObjCDeclContext()
1087 ObjCContainerDecl *DC;
1719 void HelperActionsForIvarDeclarations(ObjCContainerDecl *interfaceDecl,
1724 void ParseObjCClassInstanceVariables(ObjCContainerDecl *interfaceDecl,

12