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

/external/clang/lib/CodeGen/
H A DCGObjCMac.cpp882 const ObjCContainerDecl *OCD,
2149 const ObjCContainerDecl *OCD,
2153 for (ObjCContainerDecl::prop_iterator I = OCD->prop_begin(),
2154 E = OCD->prop_end(); I != E; ++I) {
2164 if (const ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(OCD)) {
2171 else if (const ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(OCD)) {
2271 void CGObjCMac::GenerateCategory(const ObjCCategoryImplDecl *OCD) { argument
2274 // FIXME: This is poor design, the OCD should have a pointer to the category
2278 const ObjCInterfaceDecl *Interface = OCD->getClassInterface();
2280 Interface->FindCategoryDeclaration(OCD
2147 EmitPropertyList(Twine Name, const Decl *Container, const ObjCContainerDecl *OCD, const ObjCCommonTypesHelper &ObjCTypes) argument
5261 GenerateCategory(const ObjCCategoryImplDecl *OCD) argument
[all...]
H A DCGObjCRuntime.h141 virtual void GenerateCategory(const ObjCCategoryImplDecl *OCD) = 0;
H A DCGObjCGNU.cpp1807 void CGObjCGNU::GenerateCategory(const ObjCCategoryImplDecl *OCD) { argument
1808 std::string ClassName = OCD->getClassInterface()->getNameAsString();
1809 std::string CategoryName = OCD->getNameAsString();
1814 iter = OCD->instmeth_begin(), endIter = OCD->instmeth_end();
1826 iter = OCD->classmeth_begin(), endIter = OCD->classmeth_end();
1836 const ObjCCategoryDecl *CatDecl = OCD->getCategoryDecl();
2405 const ObjCCategoryImplDecl *OCD = local
2407 StringRef CategoryName = OCD
[all...]
H A DCGDebugInfo.cpp156 } else if (const ObjCCategoryImplDecl *OCD =
158 OS << ((NamedDecl *)OCD)->getIdentifier()->getNameStart() << '(' <<
159 OCD->getIdentifier()->getNameStart() << ')';
/external/clang/lib/AST/
H A DDeclObjC.cpp138 const ObjCCategoryDecl *OCD = cast<ObjCCategoryDecl>(this); local
140 if (!OCD->IsClassExtension())
142 I = OCD->protocol_begin(), E = OCD->protocol_end(); I != E; ++I)
/external/clang/include/clang/Sema/
H A DOverload.h800 OverloadCandidateDisplayKind OCD,
/external/clang/lib/Sema/
H A DSemaDeclObjC.cpp2236 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); local
2237 Decl *ClassDecl = cast<Decl>(OCD);
2703 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); local
2704 Decl *ClassDecl = cast<Decl>(OCD);
H A DSemaDecl.cpp8671 DeclContext *OCD = cast<DeclContext>(IDecl); local
8672 assert(getContainingDC(OCD) == CurContext &&
8674 CurContext = OCD;
H A DSemaOverload.cpp8638 OverloadCandidateDisplayKind OCD,
8645 if (OCD == OCD_AllCandidates) Cands.reserve(size());
8649 else if (OCD == OCD_AllCandidates) {
8637 NoteCandidates(Sema &S, OverloadCandidateDisplayKind OCD, llvm::ArrayRef<Expr *> Args, const char *Opc, SourceLocation OpLoc) argument
H A DSemaCodeComplete.cpp6697 ObjCContainerDecl *OCD = dyn_cast<ObjCContainerDecl>(CurContext); local
6698 IDecl = cast<Decl>(OCD);

Completed in 393 milliseconds