Lines Matching refs:ResultStr
325 ObjCMethodDecl *MDecl, std::string &ResultStr);
326 void RewriteTypeIntoString(QualType T, std::string &ResultStr,
328 void RewriteByRefString(std::string &ResultStr, const std::string &Name,
1204 void RewriteModernObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr, in RewriteTypeIntoString() argument
1207 ResultStr += "id"; in RewriteTypeIntoString()
1219 ResultStr += in RewriteTypeIntoString()
1221 ResultStr += "(*"; in RewriteTypeIntoString()
1224 ResultStr += T.getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1229 std::string &ResultStr) { in RewriteObjCMethodDecl() argument
1232 ResultStr += "\nstatic "; in RewriteObjCMethodDecl()
1233 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); in RewriteObjCMethodDecl()
1234 ResultStr += " "; in RewriteObjCMethodDecl()
1263 ResultStr += NameStr; in RewriteObjCMethodDecl()
1266 ResultStr += "("; in RewriteObjCMethodDecl()
1274 ResultStr += "struct "; in RewriteObjCMethodDecl()
1277 ResultStr += IDecl->getNameAsString(); in RewriteObjCMethodDecl()
1278 ResultStr += " *"; in RewriteObjCMethodDecl()
1281 ResultStr += Context->getObjCClassType().getAsString( in RewriteObjCMethodDecl()
1284 ResultStr += " self, "; in RewriteObjCMethodDecl()
1285 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1286 ResultStr += " _cmd"; in RewriteObjCMethodDecl()
1290 ResultStr += ", "; in RewriteObjCMethodDecl()
1292 ResultStr += "id "; in RewriteObjCMethodDecl()
1293 ResultStr += PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1300 ResultStr += Name; in RewriteObjCMethodDecl()
1304 ResultStr += ", ..."; in RewriteObjCMethodDecl()
1305 ResultStr += ") "; in RewriteObjCMethodDecl()
1308 ResultStr += ")"; // close the precedence "scope" for "*". in RewriteObjCMethodDecl()
1312 ResultStr += "("; in RewriteObjCMethodDecl()
1314 if (i) ResultStr += ", "; in RewriteObjCMethodDecl()
1317 ResultStr += ParamStr; in RewriteObjCMethodDecl()
1321 ResultStr += ", "; in RewriteObjCMethodDecl()
1322 ResultStr += "..."; in RewriteObjCMethodDecl()
1324 ResultStr += ")"; in RewriteObjCMethodDecl()
1326 ResultStr += "()"; in RewriteObjCMethodDecl()
1348 std::string ResultStr; in RewriteImplementationDecl() local
1349 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1355 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1359 std::string ResultStr; in RewriteImplementationDecl() local
1360 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1366 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1384 std::string ResultStr; in RewriteInterfaceDecl() local
1387 RewriteOneForwardClassDecl(ClassDecl, ResultStr); in RewriteInterfaceDecl()
1388 RewriteIvarOffsetSymbols(ClassDecl, ResultStr); in RewriteInterfaceDecl()
1390 RewriteObjCInternalStruct(ClassDecl, ResultStr); in RewriteInterfaceDecl()
4029 void RewriteModernObjC::RewriteByRefString(std::string &ResultStr, in RewriteByRefString() argument
4035 ResultStr += "struct "; in RewriteByRefString()
4036 ResultStr += "__Block_byref_" + Name + in RewriteByRefString()
5884 std::string ResultStr; in HandleTranslationUnit() local
5885 RewriteMetaDataIntoBuffer(ResultStr); in HandleTranslationUnit()
5887 *OutFile << ResultStr; in HandleTranslationUnit()
5891 std::string ResultStr; in HandleTranslationUnit() local
5892 WriteImageInfo(ResultStr); in HandleTranslationUnit()
5893 *OutFile << ResultStr; in HandleTranslationUnit()