Lines Matching refs:CDecl
321 void RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl,
332 virtual void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl,
535 void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl,
3104 void RewriteObjC::RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, in RewriteObjCInternalStruct() argument
3106 assert(CDecl && "Class missing in SynthesizeObjCInternalStruct"); in RewriteObjCInternalStruct()
3107 assert(CDecl->getName() != "" && in RewriteObjCInternalStruct()
3110 if (ObjCSynthesizedStructs.count(CDecl)) in RewriteObjCInternalStruct()
3112 ObjCInterfaceDecl *RCDecl = CDecl->getSuperClass(); in RewriteObjCInternalStruct()
3113 int NumIvars = CDecl->ivar_size(); in RewriteObjCInternalStruct()
3114 SourceLocation LocStart = CDecl->getLocStart(); in RewriteObjCInternalStruct()
3115 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc(); in RewriteObjCInternalStruct()
3122 if ((!CDecl->isThisDeclarationADefinition() || NumIvars == 0) && in RewriteObjCInternalStruct()
3132 Result += CDecl->getNameAsString(); in RewriteObjCInternalStruct()
3156 SourceLocation L = RCDecl ? CDecl->getSuperClassLoc() : in RewriteObjCInternalStruct()
3157 CDecl->getAtStartLoc(); in RewriteObjCInternalStruct()
3161 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCInternalStruct()
3230 if (!ObjCSynthesizedStructs.insert(CDecl).second) in RewriteObjCInternalStruct()
5306 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface(); in RewriteObjCClassMetaData() local
5309 if (CDecl->isImplicitInterfaceDecl()) { in RewriteObjCClassMetaData()
5312 RewriteObjCInternalStruct(CDecl, Result); in RewriteObjCClassMetaData()
5318 : (CDecl ? CDecl->ivar_size() : 0); in RewriteObjCClassMetaData()
5361 IVI = CDecl->ivar_begin(); in RewriteObjCClassMetaData()
5362 IVE = CDecl->ivar_end(); in RewriteObjCClassMetaData()
5420 RewriteObjCProtocolListMetaData(CDecl->getReferencedProtocols(), in RewriteObjCClassMetaData()
5421 "CLASS", CDecl->getName(), Result); in RewriteObjCClassMetaData()
5460 ObjCInterfaceDecl *SuperClass = CDecl->getSuperClass(); in RewriteObjCClassMetaData()
5465 SuperClass = CDecl->getSuperClass(); in RewriteObjCClassMetaData()
5468 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5471 Result += (RootClass ? RootClass->getNameAsString() : CDecl->getNameAsString()); in RewriteObjCClassMetaData()
5478 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5483 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5496 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCClassMetaData()
5498 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5507 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5510 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5515 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5520 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5525 if (!ObjCSynthesizedStructs.count(CDecl)) in RewriteObjCClassMetaData()
5530 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5537 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5544 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5549 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCClassMetaData()
5551 Result += CDecl->getNameAsString(); in RewriteObjCClassMetaData()
5661 ObjCCategoryDecl *CDecl in RewriteObjCCategoryImplDecl() local
5699 if (CDecl) in RewriteObjCCategoryImplDecl()
5700 RewriteObjCProtocolListMetaData(CDecl->getReferencedProtocols(), "CATEGORY", in RewriteObjCCategoryImplDecl()
5753 if (CDecl && CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCCategoryImplDecl()