Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/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()
969 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
1330 Method = cast<ObjCContainerDecl>(Method->getDeclContext()) in getOverriddenMethods()
1350 const auto *Container = cast<ObjCContainerDecl>(getParent()); in findPropertyDecl()
1538 : 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.cpp372 dyn_cast<ObjCContainerDecl>(MD->getDeclContext())) { in mangleObjCMethodName()
449 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings()
473 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DObjCMemberwiseInitializer.cpp245 const ObjCContainerDecl *Container = in paramsForSelection()
246 Impl ? static_cast<const ObjCContainerDecl *>(Impl) in paramsForSelection()
247 : static_cast<const ObjCContainerDecl *>(Interface); in paramsForSelection()
248 if (Container == N->ASTNode.get<ObjCContainerDecl>() && N->Children.empty()) in paramsForSelection()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DAST.h75 std::string printObjCContainer(const ObjCContainerDecl &C);
118 const ObjCImplDecl *getCorrespondingObjCImpl(const ObjCContainerDecl *D);
H A DAST.cpp311 if (const ObjCContainerDecl *C = in printObjCMethod()
312 dyn_cast<ObjCContainerDecl>(Method.getDeclContext())) in printObjCMethod()
324 std::string printObjCContainer(const ObjCContainerDecl &C) { in printObjCContainer()
362 const ObjCImplDecl *getCorrespondingObjCImpl(const ObjCContainerDecl *D) { in getCorrespondingObjCImpl()
H A DHover.cpp77 if (const ObjCContainerDecl *CD = dyn_cast<ObjCContainerDecl>(DC)) in getLocalScope()
108 if (isa<ObjCMethodDecl, ObjCContainerDecl>(DC)) in getNamespaceScope()
/llvm-project-15.0.7/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);
565 static bool IsCategoryNameWithDeprecatedSuffix(ObjCContainerDecl *D) { in IsCategoryNameWithDeprecatedSuffix()
574 ObjCContainerDecl *D) { in migrateObjCContainerDecl()
1155 ObjCContainerDecl *D, in migrateProperty()
1292 ObjCContainerDecl *CDecl, in migrateFactoryMethod()
[all …]
H A DTransProperties.cpp76 static void collectProperties(ObjCContainerDecl *D, AtPropDeclsTy &AtProps, in collectProperties()
/llvm-project-15.0.7/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()
2974 ObjCContainerDecl* CDecl, in ImplMethodsVsClassMethods()
3980 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd()
4075 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd()
4296 const ObjCContainerDecl *container in OverrideSearch()
4297 = cast<ObjCContainerDecl>(method->getDeclContext()); in OverrideSearch()
4393 void search(const ObjCContainerDecl *container) { in search()
4725 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h944 class ObjCContainerDecl : public NamedDecl, public DeclContext {
955 ObjCContainerDecl(Kind DK, DeclContext *DC, IdentifierInfo *Id,
1150 class ObjCInterfaceDecl : public ObjCContainerDecl
1295 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
1932 ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc, in ObjCIvarDecl()
1941 static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
2052 class ObjCProtocolDecl : public ObjCContainerDecl,
2230 return ObjCContainerDecl::getSourceRange(); in getSourceRange()
2276 class ObjCCategoryDecl : public ObjCContainerDecl {
2421 class ObjCImplDecl : public ObjCContainerDecl {
[all …]
H A DASTMutationListener.h31 class ObjCContainerDecl; variable
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCRuntime.h45 class ObjCContainerDecl; variable
241 const ObjCContainerDecl *CD) = 0;
247 const ObjCContainerDecl *CD) = 0;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/
H A DMissingHashCheck.cpp27 AST_MATCHER_P(ObjCContainerDecl, hasInstanceMethod, in AST_MATCHER_P() argument
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExternalASTSourceCallbacks.cpp56 clang::ObjCContainerDecl::method_range noload_methods(oid->noload_decls()); in FindExternalVisibleDeclsByName()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DInsertionPoint.cpp81 if (auto *OCD = llvm::dyn_cast<ObjCContainerDecl>(D)) in endLoc()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCursorVisitor.h230 bool VisitObjCContainerDecl(ObjCContainerDecl *D);
H A DCXIndexDataConsumer.h451 bool handleObjCContainer(const ObjCContainerDecl *D,
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp668 const ObjCContainerDecl::method_range Methods) { in recordObjCMethods()
699 const ObjCContainerDecl::prop_range Properties) { in recordObjCProperties()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp92 void VisitObjCContainerDecl(const ObjCContainerDecl *CD,
418 void USRGenerator::VisitObjCContainerDecl(const ObjCContainerDecl *D, in VisitObjCContainerDecl()

123