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

/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DMangle.cpp445 std::vector<std::string> getAllManglings(const ObjCContainerDecl *OCD) { argument
447 if (const auto *OID = dyn_cast<ObjCInterfaceDecl>(OCD))
449 else if (const auto *OID = dyn_cast<ObjCImplementationDecl>(OCD))
457 auto Prefix = getClassSymbolPrefix(Kind, OCD->getASTContext());
469 if (const auto *OCD = dyn_cast<ObjCContainerDecl>(D))
470 return getAllManglings(OCD);
H A DDeclObjC.cpp294 const auto *OCD = cast<ObjCCategoryDecl>(this); local
296 if (!OCD->IsClassExtension())
297 for (const auto *I : OCD->protocols())
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjCGNU.cpp272 ObjCCategoryDecl *OCD);
290 const Decl *OCD,
295 Fields.add(MakePropertyEncodingString(property, OCD));
459 const ObjCContainerDecl *OCD,
1120 const Decl *OCD,
1135 CGM.getContext().getObjCEncodingForPropertyDecl(property, OCD);
1190 llvm::Constant *GenerateCategoryProtocolList(const ObjCCategoryDecl *OCD)
1192 const auto &ReferencedProtocols = OCD->getReferencedProtocols();
3244 ObjCCategoryDecl *OCD) {
3245 const auto &RefPro = OCD
288 PushProperty(ConstantArrayBuilder &PropertiesArray, const ObjCPropertyDecl *property, const Decl *OCD, bool isSynthesized=true, bool isDynamic=true) argument
3243 GenerateCategoryProtocolList(const ObjCCategoryDecl *OCD) argument
3254 GenerateCategory(const ObjCCategoryImplDecl *OCD) argument
3304 GeneratePropertyList(const Decl *Container, const ObjCContainerDecl *OCD, bool isClassProperty, bool protocolOptionalProperties) argument
[all...]
H A DCGObjCRuntime.h154 virtual void GenerateCategory(const ObjCCategoryImplDecl *OCD) = 0;
H A DCGObjCMac.cpp1013 const ObjCContainerDecl *OCD,
3287 const ObjCContainerDecl *OCD,
3302 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD))
3313 for (const auto *PD : OCD->properties()) {
3325 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) {
3329 else if (const ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(OCD)) {
3397 void CGObjCMac::GenerateCategory(const ObjCCategoryImplDecl *OCD) { argument
3400 // FIXME: This is poor design, the OCD should have a pointer to the category
3404 const ObjCInterfaceDecl *Interface = OCD->getClassInterface();
3406 Interface->FindCategoryDeclaration(OCD
3285 EmitPropertyList(Twine Name, const Decl *Container, const ObjCContainerDecl *OCD, const ObjCCommonTypesHelper &ObjCTypes, bool IsClassProperty) argument
6715 GenerateCategory(const ObjCCategoryImplDecl *OCD) argument
[all...]
H A DCGDebugInfo.cpp290 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) {
291 OS << OCD->getClassInterface()->getName() << '(' << OCD->getName() << ')';
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp613 } else if (const auto *OCD = dyn_cast<ObjCCategoryImplDecl>(DC)) {
614 OS << OCD->getClassInterface()->getName() << '('
615 << OCD->getName() << ')';
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DOverload.h1126 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args,
1132 PartialDiagnosticAt PA, Sema &S, OverloadCandidateDisplayKind OCD,
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclObjC.cpp3832 static void DiagnoseVariableSizedIvars(Sema &S, ObjCContainerDecl *OCD) { argument
3836 if ((IntfDecl = dyn_cast<ObjCInterfaceDecl>(OCD))) {
3838 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) {
3841 } else if (auto *CategoryDecl = dyn_cast<ObjCCategoryDecl>(OCD)) {
3849 if (!isa<ObjCInterfaceDecl>(OCD)) {
3891 // Perform the check only if OCD is the first container to declare ivars to
3972 auto *OCD = cast<ObjCContainerDecl>(CurContext); local
3973 Decl *ClassDecl = OCD;
4189 DiagnoseVariableSizedIvars(*this, OCD);
H A DSemaOverload.cpp11575 Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args,
11581 if (OCD == OCD_AllCandidates) Cands.reserve(size());
11585 switch (OCD) {
11638 PartialDiagnosticAt PD, Sema &S, OverloadCandidateDisplayKind OCD,
11642 auto Cands = CompleteCandidates(S, OCD, Args, OpLoc, Filter);
11648 if (OCD == OCD_AmbiguousCandidates)
11766 /// OCD == OCD_AllCandidates and Cand->Viable == false.
H A DSemaCodeComplete.cpp8913 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); local
8914 IDecl = OCD;
H A DSemaDecl.cpp16441 DeclContext *OCD = cast<DeclContext>(IDecl); local
16442 assert(OCD->getLexicalParent() == CurContext &&
16444 CurContext = OCD;

Completed in 821 milliseconds