Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:ClassDecl

317     void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 
847 const ObjCInterfaceDecl *ClassDecl = D->getContainingInterface();
854 WriteInternalIvarName(ClassDecl, D, IvarOffsetName);
912 ReferencedIvars[const_cast<ObjCInterfaceDecl *>(ClassDecl)].insert(D);
971 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1)
1069 void RewriteModernObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl,
1071 SourceLocation startLoc = ClassDecl->getLocStart();
1400 void RewriteModernObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) {
1402 if (ObjCSynthesizedStructs.count(ClassDecl))
1405 ObjCInterfaceDecl *SuperClass = ClassDecl->getSuperClass();
1411 if (!ObjCWrittenInterfaces.count(ClassDecl->getCanonicalDecl())) {
1413 RewriteOneForwardClassDecl(ClassDecl, ResultStr);
1414 RewriteIvarOffsetSymbols(ClassDecl, ResultStr);
1416 RewriteObjCInternalStruct(ClassDecl, ResultStr);
1418 ObjCWrittenInterfaces.insert(ClassDecl->getCanonicalDecl());
1420 for (auto *I : ClassDecl->properties())
1422 for (auto *I : ClassDecl->instance_methods())
1424 for (auto *I : ClassDecl->class_methods())
1428 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
3273 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
3290 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
3371 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface();
3385 ClsExprs.push_back(getStringLiteral(ClassDecl->getIdentifier()->getName()));
6705 ClassDecl,
6711 StringRef ClassName = ClassDecl->getName();
6716 if (ClassDecl->getImplementation())
6772 Result += ClassDecl->getNameAsString();
6777 Result += ClassDecl->getNameAsString();
7402 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();
7405 = ClassDecl->FindCategoryDeclaration(IDecl->getIdentifier());
7407 std::string FullCategoryName = ClassDecl->getNameAsString();
7464 ClassDecl,
7486 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface();
7488 Result += ClassDecl->getName();