Lines Matching refs:ResultStr
326 ObjCMethodDecl *MDecl, std::string &ResultStr);
327 void RewriteTypeIntoString(QualType T, std::string &ResultStr,
329 void RewriteByRefString(std::string &ResultStr, const std::string &Name,
1207 void RewriteModernObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr, in RewriteTypeIntoString() argument
1210 ResultStr += "id"; in RewriteTypeIntoString()
1222 ResultStr += in RewriteTypeIntoString()
1224 ResultStr += "(*"; in RewriteTypeIntoString()
1227 ResultStr += T.getAsString(Context->getPrintingPolicy()); in RewriteTypeIntoString()
1232 std::string &ResultStr) { in RewriteObjCMethodDecl() argument
1235 ResultStr += "\nstatic "; in RewriteObjCMethodDecl()
1236 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); in RewriteObjCMethodDecl()
1237 ResultStr += " "; in RewriteObjCMethodDecl()
1266 ResultStr += NameStr; in RewriteObjCMethodDecl()
1269 ResultStr += "("; in RewriteObjCMethodDecl()
1277 ResultStr += "struct "; in RewriteObjCMethodDecl()
1280 ResultStr += IDecl->getNameAsString(); in RewriteObjCMethodDecl()
1281 ResultStr += " *"; in RewriteObjCMethodDecl()
1284 ResultStr += Context->getObjCClassType().getAsString( in RewriteObjCMethodDecl()
1287 ResultStr += " self, "; in RewriteObjCMethodDecl()
1288 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy()); in RewriteObjCMethodDecl()
1289 ResultStr += " _cmd"; in RewriteObjCMethodDecl()
1293 ResultStr += ", "; in RewriteObjCMethodDecl()
1295 ResultStr += "id "; in RewriteObjCMethodDecl()
1296 ResultStr += PDecl->getNameAsString(); in RewriteObjCMethodDecl()
1303 ResultStr += Name; in RewriteObjCMethodDecl()
1307 ResultStr += ", ..."; in RewriteObjCMethodDecl()
1308 ResultStr += ") "; in RewriteObjCMethodDecl()
1311 ResultStr += ")"; // close the precedence "scope" for "*". in RewriteObjCMethodDecl()
1315 ResultStr += "("; in RewriteObjCMethodDecl()
1317 if (i) ResultStr += ", "; in RewriteObjCMethodDecl()
1320 ResultStr += ParamStr; in RewriteObjCMethodDecl()
1324 ResultStr += ", "; in RewriteObjCMethodDecl()
1325 ResultStr += "..."; in RewriteObjCMethodDecl()
1327 ResultStr += ")"; in RewriteObjCMethodDecl()
1329 ResultStr += "()"; in RewriteObjCMethodDecl()
1354 std::string ResultStr; in RewriteImplementationDecl() local
1355 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1361 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1367 std::string ResultStr; in RewriteImplementationDecl() local
1368 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr); in RewriteImplementationDecl()
1374 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1392 std::string ResultStr; in RewriteInterfaceDecl() local
1395 RewriteOneForwardClassDecl(ClassDecl, ResultStr); in RewriteInterfaceDecl()
1396 RewriteIvarOffsetSymbols(ClassDecl, ResultStr); in RewriteInterfaceDecl()
1398 RewriteObjCInternalStruct(ClassDecl, ResultStr); in RewriteInterfaceDecl()
4022 void RewriteModernObjC::RewriteByRefString(std::string &ResultStr, in RewriteByRefString() argument
4028 ResultStr += "struct "; in RewriteByRefString()
4029 ResultStr += "__Block_byref_" + Name + in RewriteByRefString()
5872 std::string ResultStr; in HandleTranslationUnit() local
5873 RewriteMetaDataIntoBuffer(ResultStr); in HandleTranslationUnit()
5875 *OutFile << ResultStr; in HandleTranslationUnit()
5879 std::string ResultStr; in HandleTranslationUnit() local
5880 WriteImageInfo(ResultStr); in HandleTranslationUnit()
5881 *OutFile << ResultStr; in HandleTranslationUnit()