Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp452 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings() argument
454 if (const auto *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in getAllManglings()
456 else if (const auto *OID = dyn_cast<ObjCImplementationDecl>(OCD)) in getAllManglings()
464 auto Prefix = getClassSymbolPrefix(Kind, OCD->getASTContext()); in getAllManglings()
476 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings() local
477 return getAllManglings(OCD); in getAllManglings()
H A DDeclObjC.cpp307 const auto *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration() local
309 if (!OCD->IsClassExtension()) in FindPropertyDeclaration()
310 for (const auto *I : OCD->protocols()) in FindPropertyDeclaration()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp274 ObjCCategoryDecl *OCD);
292 const Decl *OCD, in PushProperty() argument
297 Fields.add(MakePropertyEncodingString(property, OCD)); in PushProperty()
458 const ObjCContainerDecl *OCD,
1138 const Decl *OCD, in PushProperty() argument
1153 CGM.getContext().getObjCEncodingForPropertyDecl(property, OCD); in PushProperty()
1208 llvm::Constant *GenerateCategoryProtocolList(const ObjCCategoryDecl *OCD) in GenerateCategoryProtocolList() argument
1210 const auto &ReferencedProtocols = OCD->getReferencedProtocols(); in GenerateCategoryProtocolList()
3446 ObjCCategoryDecl *OCD) { in GenerateCategoryProtocolList() argument
3447 const auto &RefPro = OCD->getReferencedProtocols(); in GenerateCategoryProtocolList()
[all …]
H A DCGObjCMac.cpp1017 const ObjCContainerDecl *OCD,
3225 const ObjCContainerDecl *OCD, in EmitPropertyList() argument
3240 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in EmitPropertyList()
3251 for (const auto *PD : OCD->properties()) { in EmitPropertyList()
3263 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) { in EmitPropertyList()
3267 else if (const ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(OCD)) { in EmitPropertyList()
3335 void CGObjCMac::GenerateCategory(const ObjCCategoryImplDecl *OCD) { in GenerateCategory() argument
3342 const ObjCInterfaceDecl *Interface = OCD->getClassInterface(); in GenerateCategory()
3344 Interface->FindCategoryDeclaration(OCD->getIdentifier()); in GenerateCategory()
3348 << OCD->getName(); in GenerateCategory()
[all …]
H A DCGObjCRuntime.h155 virtual void GenerateCategory(const ObjCCategoryImplDecl *OCD) = 0;
H A DCGDebugInfo.cpp291 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) { in getObjCMethodName() local
292 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getObjCMethodName()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp383 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) { in getFunctionName() local
384 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h1228 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args,
1234 PartialDiagnosticAt PA, Sema &S, OverloadCandidateDisplayKind OCD,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp3850 static void DiagnoseVariableSizedIvars(Sema &S, ObjCContainerDecl *OCD) { in DiagnoseVariableSizedIvars() argument
3854 if ((IntfDecl = dyn_cast<ObjCInterfaceDecl>(OCD))) { in DiagnoseVariableSizedIvars()
3856 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars()
3859 } else if (auto *CategoryDecl = dyn_cast<ObjCCategoryDecl>(OCD)) { in DiagnoseVariableSizedIvars()
3867 if (!isa<ObjCInterfaceDecl>(OCD)) { in DiagnoseVariableSizedIvars()
3992 auto *OCD = cast<ObjCContainerDecl>(SemaRef.CurContext); in ActOnAtEnd() local
3993 Decl *ClassDecl = OCD; in ActOnAtEnd()
4210 DiagnoseVariableSizedIvars(SemaRef, OCD); in ActOnAtEnd()
H A DSemaOverload.cpp12462 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, in CompleteCandidates() argument
12468 if (OCD == OCD_AllCandidates) Cands.reserve(size()); in CompleteCandidates()
12472 switch (OCD) { in CompleteCandidates()
12526 PartialDiagnosticAt PD, Sema &S, OverloadCandidateDisplayKind OCD, in NoteCandidates() argument
12530 auto Cands = CompleteCandidates(S, OCD, Args, OpLoc, Filter); in NoteCandidates()
12545 if (OCD == OCD_AmbiguousCandidates) in NoteCandidates()
H A DSemaCodeComplete.cpp9659 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(SemaRef.CurContext); in CodeCompleteObjCMethodDecl() local
9660 IDecl = OCD; in CodeCompleteObjCMethodDecl()
/freebsd/share/misc/
H A Dusb_vendors18625 002b ARM-USB-OCD-H JTAG+RS232