| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Mangle.cpp | 445 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { in getAllManglings() argument 447 if (const auto *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) in getAllManglings() 449 else if (const auto *OID = dyn_cast<ObjCImplementationDecl>(OCD)) in getAllManglings() 457 auto Prefix = getClassSymbolPrefix(Kind, OCD->getASTContext()); in getAllManglings() 469 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D)) in getAllManglings() local 470 return getAllManglings(OCD); in getAllManglings()
|
| H A D | DeclObjC.cpp | 294 const auto *OCD = cast<ObjCCategoryDecl>(this); in FindPropertyDeclaration() local 296 if (!OCD->IsClassExtension()) in FindPropertyDeclaration() 297 for (const auto *I : OCD->protocols()) in FindPropertyDeclaration()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 272 ObjCCategoryDecl *OCD); 290 const Decl *OCD, in PushProperty() argument 459 const ObjCContainerDecl *OCD, 1122 const Decl *OCD, in PushProperty() argument 3247 ObjCCategoryDecl *OCD) { in GenerateCategoryProtocolList() argument 3260 std::string CategoryName = OCD->getNameAsString(); in GenerateCategory() 3272 OCD->instmeth_end()); in GenerateCategory() 3280 OCD->classmeth_end()); in GenerateCategory() 3308 const ObjCContainerDecl *OCD, in GeneratePropertyList() argument 3314 bool isProtocol = isa<ObjCProtocolDecl>(OCD); in GeneratePropertyList() [all …]
|
| H A D | CGObjCMac.cpp | 3313 for (const auto *PD : OCD->properties()) { in EmitPropertyList() 3406 Interface->FindCategoryDeclaration(OCD->getIdentifier()); in GenerateCategory() 3410 << OCD->getName(); in GenerateCategory() 3421 for (const auto *MD : OCD->methods()) { in GenerateCategory() 3426 Values.add(GetClassName(OCD->getName())); in GenerateCategory() 6722 ExtCatName += OCD->getNameAsString(); in GenerateCategory() 6726 values.add(GetClassName(OCD->getIdentifier()->getName())); in GenerateCategory() 6734 for (const auto *MD : OCD->methods()) { in GenerateCategory() 6750 Interface->FindCategoryDeclaration(OCD->getIdentifier()); in GenerateCategory() 6754 << OCD->getName(); in GenerateCategory() [all …]
|
| H A D | CGObjCRuntime.h | 154 virtual void GenerateCategory(const ObjCCategoryImplDecl *OCD) = 0;
|
| H A D | CGDebugInfo.cpp | 271 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) { in getObjCMethodName() local 272 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getObjCMethodName()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 384 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) { in getFunctionName() local 385 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')'; in getFunctionName()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Overload.h | 1126 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, 1132 PartialDiagnosticAt PA, Sema &S, OverloadCandidateDisplayKind OCD,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 3832 static void DiagnoseVariableSizedIvars(Sema &S, ObjCContainerDecl *OCD) { in DiagnoseVariableSizedIvars() argument 3836 if ((IntfDecl = dyn_cast<ObjCInterfaceDecl>(OCD))) { in DiagnoseVariableSizedIvars() 3838 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars() 3841 } else if (auto *CategoryDecl = dyn_cast<ObjCCategoryDecl>(OCD)) { in DiagnoseVariableSizedIvars() 3849 if (!isa<ObjCInterfaceDecl>(OCD)) { in DiagnoseVariableSizedIvars() 3972 auto *OCD = cast<ObjCContainerDecl>(CurContext); in ActOnAtEnd() local 3973 Decl *ClassDecl = OCD; in ActOnAtEnd() 4189 DiagnoseVariableSizedIvars(*this, OCD); in ActOnAtEnd()
|
| H A D | SemaOverload.cpp | 11592 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, in CompleteCandidates() argument 11598 if (OCD == OCD_AllCandidates) Cands.reserve(size()); in CompleteCandidates() 11602 switch (OCD) { in CompleteCandidates() 11656 PartialDiagnosticAt PD, Sema &S, OverloadCandidateDisplayKind OCD, in NoteCandidates() argument 11660 auto Cands = CompleteCandidates(S, OCD, Args, OpLoc, Filter); in NoteCandidates() 11666 if (OCD == OCD_AmbiguousCandidates) in NoteCandidates()
|
| H A D | SemaCodeComplete.cpp | 8916 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); in CodeCompleteObjCMethodDecl() local 8917 IDecl = OCD; in CodeCompleteObjCMethodDecl()
|
| H A D | SemaDecl.cpp | 16497 DeclContext *OCD = cast<DeclContext>(IDecl); in ActOnObjCContainerStartDefinition() local 16498 assert(OCD->getLexicalParent() == CurContext && in ActOnObjCContainerStartDefinition() 16500 CurContext = OCD; in ActOnObjCContainerStartDefinition()
|