Lines Matching defs:CDecl
321 void RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl,
332 virtual void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl,
535 void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl,
3093 void RewriteObjC::RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl,
3095 assert(CDecl && "Class missing in SynthesizeObjCInternalStruct");
3096 assert(CDecl->getName() != "" &&
3099 if (ObjCSynthesizedStructs.count(CDecl))
3101 ObjCInterfaceDecl *RCDecl = CDecl->getSuperClass();
3102 int NumIvars = CDecl->ivar_size();
3103 SourceLocation LocStart = CDecl->getLocStart();
3104 SourceLocation LocEnd = CDecl->getEndOfDefinitionLoc();
3111 if ((!CDecl->isThisDeclarationADefinition() || NumIvars == 0) &&
3121 Result += CDecl->getNameAsString();
3145 SourceLocation L = RCDecl ? CDecl->getSuperClassLoc() :
3146 CDecl->getAtStartLoc();
3150 if (CDecl->protocol_begin() != CDecl->protocol_end()) {
3219 if (!ObjCSynthesizedStructs.insert(CDecl).second)
5291 ObjCInterfaceDecl *CDecl = IDecl->getClassInterface();
5294 if (CDecl->isImplicitInterfaceDecl()) {
5297 RewriteObjCInternalStruct(CDecl, Result);
5303 : (CDecl ? CDecl->ivar_size() : 0);
5346 IVI = CDecl->ivar_begin();
5347 IVE = CDecl->ivar_end();
5405 RewriteObjCProtocolListMetaData(CDecl->getReferencedProtocols(),
5406 "CLASS", CDecl->getName(), Result);
5445 ObjCInterfaceDecl *SuperClass = CDecl->getSuperClass();
5450 SuperClass = CDecl->getSuperClass();
5453 Result += CDecl->getNameAsString();
5456 Result += (RootClass ? RootClass->getNameAsString() : CDecl->getNameAsString());
5463 Result += CDecl->getNameAsString();
5468 Result += CDecl->getNameAsString();
5481 if (CDecl->protocol_begin() != CDecl->protocol_end()) {
5483 Result += CDecl->getNameAsString();
5492 Result += CDecl->getNameAsString();
5495 Result += CDecl->getNameAsString();
5500 Result += CDecl->getNameAsString();
5505 Result += CDecl->getNameAsString();
5510 if (!ObjCSynthesizedStructs.count(CDecl))
5515 Result += CDecl->getNameAsString();
5522 Result += CDecl->getNameAsString();
5529 Result += CDecl->getNameAsString();
5534 if (CDecl->protocol_begin() != CDecl->protocol_end()) {
5536 Result += CDecl->getNameAsString();
5646 ObjCCategoryDecl *CDecl
5683 // Null CDecl is case of a category implementation with no category interface
5684 if (CDecl)
5685 RewriteObjCProtocolListMetaData(CDecl->getReferencedProtocols(), "CATEGORY",
5738 if (CDecl && CDecl->protocol_begin() != CDecl->protocol_end()) {