Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h74 bool TraverseObjCCategoryImplDecl(ObjCCategoryImplDecl *D) { in TraverseObjCCategoryImplDecl()
90 !isa<ObjCCategoryImplDecl>(Child)) { in TraverseDeclContextHelper()
H A DDeclObjC.h51 class ObjCCategoryImplDecl; variable
2335 ObjCCategoryImplDecl *getImplementation() const;
2336 void setImplementation(ObjCCategoryImplDecl *ImplD);
2495 class ObjCCategoryImplDecl : public ObjCImplDecl {
2499 ObjCCategoryImplDecl(DeclContext *DC, IdentifierInfo *Id, in ObjCCategoryImplDecl() function
2513 static ObjCCategoryImplDecl *Create(ASTContext &C, DeclContext *DC,
2519 static ObjCCategoryImplDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2529 raw_ostream &operator<<(raw_ostream &OS, const ObjCCategoryImplDecl &CID);
H A DTextNodeDumper.h372 void VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *D);
H A DJSONNodeDumper.h259 void VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *D);
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp995 } else if (auto *CImplD = dyn_cast<ObjCCategoryImplDecl>(CtxD)) { in getCanonicalDecl()
1191 if (auto *IMD = dyn_cast<ObjCCategoryImplDecl>(getDeclContext())) in getCategory()
1738 if (ObjCCategoryImplDecl *Impl = Cat->getImplementation()) in getCategoryInstanceMethod()
1748 if (ObjCCategoryImplDecl *Impl = Cat->getImplementation()) in getCategoryClassMethod()
2097 ObjCCategoryImplDecl *ObjCCategoryDecl::getImplementation() const { in getImplementation()
2119 void ObjCCategoryImplDecl::anchor() {} in anchor()
2121 ObjCCategoryImplDecl *
2122 ObjCCategoryImplDecl::Create(ASTContext &C, DeclContext *DC, in Create()
2134 ObjCCategoryImplDecl *ObjCCategoryImplDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
2141 ObjCCategoryDecl *ObjCCategoryImplDecl::getCategoryDecl() const { in getCategoryDecl()
[all …]
H A DDeclPrinter.cpp93 void VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *D);
469 isa<ObjCCategoryImplDecl>(*D) || in VisitDeclContext()
1434 void DeclPrinter::VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *PID) { in VisitObjCCategoryImplDecl()
/llvm-project-15.0.7/clang/test/Index/
H A Davailability.mm68 // CHECK: ObjCCategoryImplDecl=Cat:27:17 (Definition) (macos, introduced=10.0)
79 // CHECK: ObjCCategoryImplDecl=Cat2:45:17 (Definition) (macos, introduced=8.0)
H A Dget-cursor.m192 // CHECK-SPELLRANGE: 67:17 ObjCCategoryImplDecl=Dido:67:17 (Definition) Extent=[67:1 - 68:2] Spelli…
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/
H A DDeallocInCategoryCheck.cpp34 const auto *CID = Result.Nodes.getNodeAs<ObjCCategoryImplDecl>("impl"); in check()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCRuntime.h46 class ObjCCategoryImplDecl; variable
155 virtual void GenerateCategory(const ObjCCategoryImplDecl *OCD) = 0;
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp90 if (const ObjCCategoryImplDecl *CID = Cat->getImplementation()) in Scan()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp156 else if (ObjCCategoryImplDecl *CatImpl in CheckObjCMethodOverride()
157 = dyn_cast<ObjCCategoryImplDecl>(DC)) in CheckObjCMethodOverride()
1902 ObjCCategoryImplDecl *Sema::ActOnStartCategoryImplementation( in ActOnStartCategoryImplementation()
1921 ObjCCategoryImplDecl *CDecl = in ActOnStartCategoryImplementation()
1922 ObjCCategoryImplDecl::Create(Context, CurContext, CatName, IDecl, in ActOnStartCategoryImplementation()
3022 if (ObjCCategoryImplDecl *CatDecl = in ImplMethodsVsClassMethods()
3023 dyn_cast<ObjCCategoryImplDecl>(IMPDecl)) in ImplMethodsVsClassMethods()
4172 } else if (ObjCCategoryImplDecl* CatImplClass = in ActOnAtEnd()
4349 void searchFrom(const ObjCCategoryImplDecl *impl) { in searchFrom()
4906 if (isa<ObjCCategoryImplDecl>(ImpDecl)) in ActOnMethodDeclaration()
[all …]
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp390 if (auto *ICD = dyn_cast<ObjCCategoryImplDecl>(D->getDeclContext())) in getCategoryContext()
453 const ObjCCategoryImplDecl *CD = cast<ObjCCategoryImplDecl>(D); in VisitObjCContainerDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp88 bool VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *D) { in VisitObjCCategoryImplDecl()
780 bool CXIndexDataConsumer::handleObjCCategoryImpl(const ObjCCategoryImplDecl *D) { in handleObjCCategoryImpl()
1051 } else if (const ObjCCategoryImplDecl * in getEntityDecl()
1052 CatImplD = dyn_cast<ObjCCategoryImplDecl>(D)) { in getEntityDecl()
H A DCursorVisitor.h237 bool VisitObjCCategoryImplDecl(ObjCCategoryImplDecl *D);
H A DCXIndexDataConsumer.h396 bool handleObjCCategoryImpl(const ObjCCategoryImplDecl *D);
/llvm-project-15.0.7/clang/test/Misc/
H A Dpragma-attribute-objc.m132 // CHECK-LABEL: ObjCCategoryImplDecl{{.*}}testCat
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-decl.m103 // CHECK: ObjCCategoryImplDecl{{.*}} TestObjCCategoryDecl
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp226 } else if (const ObjCCategoryImplDecl *CID = in add()
227 dyn_cast<ObjCCategoryImplDecl>(D)) { in add()
687 void VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *OCID) { in refInDecl()
H A DAST.cpp334 if (const ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(&C)) { in printObjCContainer()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp110 SmallVector<ObjCCategoryImplDecl *, 8> CategoryImplementation;
269 ObjCCategoryImplDecl *CID);
333 virtual void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl,
535 void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl,
769 ObjCCategoryImplDecl *CID) { in RewritePropertyImplDecl()
1083 if (ObjCCategoryImplDecl *CID = in RewriteObjCMethodDecl()
1084 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { in RewriteObjCMethodDecl()
1169 ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(OID); in RewriteImplementationDecl()
4841 ObjCCategoryImplDecl *CI = cast<ObjCCategoryImplDecl>(D); in HandleDeclInMainFile()
5616 void RewriteObjCFragileABI::RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, in RewriteObjCCategoryImplDecl()
H A DRewriteModernObjC.cpp113 SmallVector<ObjCCategoryImplDecl *, 8> CategoryImplementation;
322 ObjCCategoryImplDecl *CID);
456 void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl,
920 ObjCCategoryImplDecl *CID) { in RewritePropertyImplDecl()
1250 if (ObjCCategoryImplDecl *CID = in RewriteObjCMethodDecl()
1251 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { in RewriteObjCMethodDecl()
1336 ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(OID); in RewriteImplementationDecl()
4013 ObjCCategoryImplDecl *CIMP = CategoryImplementation[i]; in RewriteImplementations()
5742 ObjCCategoryImplDecl *CI = cast<ObjCCategoryImplDecl>(D); in HandleDeclInMainFile()
7263 void RewriteModernObjC::RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *IDecl, in RewriteObjCCategoryImplDecl()
[all …]
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DASTSelectionTest.cpp420 const auto &Impl = checkNode<ObjCCategoryImplDecl>( in TEST()
444 const auto &Cat = checkNode<ObjCCategoryImplDecl>( in TEST()
/llvm-project-15.0.7/clang/test/Sema/
H A Dwarn-documentation.m66 @implementation Test1(Test1Category) // a category implementation: ObjCCategoryImplDecl
/llvm-project-15.0.7/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp384 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) { in getFunctionName()

123