Home
last modified time | relevance | path

Searched refs:OCD (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp449 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings() argument
451 if (const auto *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in getAllManglings()
453 else if (const auto *OID = dyn_cast<ObjCImplementationDecl>(OCD)) in getAllManglings()
461 auto Prefix = getClassSymbolPrefix(Kind, OCD->getASTContext()); in getAllManglings()
473 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings() local
474 return getAllManglings(OCD); in getAllManglings()
H A DDeclObjC.cpp306 const auto *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration() local
308 if (!OCD->IsClassExtension()) in FindPropertyDeclaration()
309 for (const auto *I : OCD->protocols()) in FindPropertyDeclaration()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DInsertionPoint.cpp81 if (auto *OCD = llvm::dyn_cast<ObjCContainerDecl>(D)) in endLoc() local
82 return OCD->getAtEndRange().getBegin(); in endLoc()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCGNU.cpp276 ObjCCategoryDecl *OCD);
294 const Decl *OCD, in PushProperty() argument
460 const ObjCContainerDecl *OCD,
1123 const Decl *OCD, in PushProperty() argument
3329 ObjCCategoryDecl *OCD) { in GenerateCategoryProtocolList() argument
3342 std::string CategoryName = OCD->getNameAsString(); in GenerateCategory()
3354 OCD->instmeth_end()); in GenerateCategory()
3362 OCD->classmeth_end()); in GenerateCategory()
3390 const ObjCContainerDecl *OCD, in GeneratePropertyList() argument
3396 bool isProtocol = isa<ObjCProtocolDecl>(OCD); in GeneratePropertyList()
[all …]
H A DCGObjCMac.cpp1013 const ObjCContainerDecl *OCD,
3248 for (const auto *PD : OCD->properties()) { in EmitPropertyList()
3341 Interface->FindCategoryDeclaration(OCD->getIdentifier()); in GenerateCategory()
3345 << OCD->getName(); in GenerateCategory()
3356 for (const auto *MD : OCD->methods()) { in GenerateCategory()
3361 Values.add(GetClassName(OCD->getName())); in GenerateCategory()
6669 ExtCatName += OCD->getNameAsString(); in GenerateCategory()
6673 values.add(GetClassName(OCD->getIdentifier()->getName())); in GenerateCategory()
6681 for (const auto *MD : OCD->methods()) { in GenerateCategory()
6702 Interface->FindCategoryDeclaration(OCD->getIdentifier()); in GenerateCategory()
[all …]
H A DCGObjCRuntime.h155 virtual void GenerateCategory(const ObjCCategoryImplDecl *OCD) = 0;
H A DCGDebugInfo.cpp278 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) { in getObjCMethodName() local
279 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getObjCMethodName()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp675 void VisitObjCCategoryDecl(const ObjCCategoryDecl *OCD) { in refInDecl()
678 OCD->getLocation(), in refInDecl()
680 {OCD->getClassInterface()}}); in refInDecl()
682 OCD->getCategoryNameLoc(), in refInDecl()
684 {OCD}}); in refInDecl()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp384 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) { in getFunctionName() local
385 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DTokenKinds.def82 // this list and to cater to OCD.
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DOverload.h1149 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args,
1155 PartialDiagnosticAt PA, Sema &S, OverloadCandidateDisplayKind OCD,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp3840 static void DiagnoseVariableSizedIvars(Sema &S, ObjCContainerDecl *OCD) { in DiagnoseVariableSizedIvars() argument
3844 if ((IntfDecl = dyn_cast<ObjCInterfaceDecl>(OCD))) { in DiagnoseVariableSizedIvars()
3846 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars()
3849 } else if (auto *CategoryDecl = dyn_cast<ObjCCategoryDecl>(OCD)) { in DiagnoseVariableSizedIvars()
3857 if (!isa<ObjCInterfaceDecl>(OCD)) { in DiagnoseVariableSizedIvars()
3980 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd() local
3981 Decl *ClassDecl = OCD; in ActOnAtEnd()
4197 DiagnoseVariableSizedIvars(*this, OCD); in ActOnAtEnd()
H A DSemaOverload.cpp11762 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, in CompleteCandidates() argument
11768 if (OCD == OCD_AllCandidates) Cands.reserve(size()); in CompleteCandidates()
11772 switch (OCD) { in CompleteCandidates()
11826 PartialDiagnosticAt PD, Sema &S, OverloadCandidateDisplayKind OCD, in NoteCandidates() argument
11830 auto Cands = CompleteCandidates(S, OCD, Args, OpLoc, Filter); in NoteCandidates()
11836 if (OCD == OCD_AmbiguousCandidates) in NoteCandidates()
H A DSemaCodeComplete.cpp9403 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl() local
9404 IDecl = OCD; in CodeCompleteObjCMethodDecl()