Lines Matching defs:ResultStr
324 ObjCMethodDecl *MDecl, std::string &ResultStr);
325 void RewriteTypeIntoString(QualType T, std::string &ResultStr,
327 void RewriteByRefString(std::string &ResultStr, const std::string &Name,
1205 void RewriteModernObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr,
1208 ResultStr += "id";
1220 ResultStr +=
1222 ResultStr += "(*";
1225 ResultStr += T.getAsString(Context->getPrintingPolicy());
1230 std::string &ResultStr) {
1233 ResultStr += "\nstatic ";
1234 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType);
1235 ResultStr += " ";
1264 ResultStr += NameStr;
1267 ResultStr += "(";
1275 ResultStr += "struct ";
1278 ResultStr += IDecl->getNameAsString();
1279 ResultStr += " *";
1282 ResultStr += Context->getObjCClassType().getAsString(
1285 ResultStr += " self, ";
1286 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1287 ResultStr += " _cmd";
1291 ResultStr += ", ";
1293 ResultStr += "id ";
1294 ResultStr += PDecl->getNameAsString();
1301 ResultStr += Name;
1305 ResultStr += ", ...";
1306 ResultStr += ") ";
1309 ResultStr += ")"; // close the precedence "scope" for "*".
1313 ResultStr += "(";
1315 if (i) ResultStr += ", ";
1318 ResultStr += ParamStr;
1322 ResultStr += ", ";
1323 ResultStr += "...";
1325 ResultStr += ")";
1327 ResultStr += "()";
1352 std::string ResultStr;
1353 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1359 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1365 std::string ResultStr;
1366 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1372 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1390 std::string ResultStr;
1393 RewriteOneForwardClassDecl(ClassDecl, ResultStr);
1394 RewriteIvarOffsetSymbols(ClassDecl, ResultStr);
1396 RewriteObjCInternalStruct(ClassDecl, ResultStr);
4020 void RewriteModernObjC::RewriteByRefString(std::string &ResultStr,
4026 ResultStr += "struct ";
4027 ResultStr += "__Block_byref_" + Name +
5835 std::string ResultStr;
5836 RewriteMetaDataIntoBuffer(ResultStr);
5838 *OutFile << ResultStr;
5842 std::string ResultStr;
5843 WriteImageInfo(ResultStr);
5844 *OutFile << ResultStr;