Lines Matching defs: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,
1206 void RewriteModernObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr,
1209 ResultStr += "id";
1221 ResultStr +=
1223 ResultStr += "(*";
1226 ResultStr += T.getAsString(Context->getPrintingPolicy());
1231 std::string &ResultStr) {
1234 ResultStr += "\nstatic ";
1235 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType);
1236 ResultStr += " ";
1265 ResultStr += NameStr;
1268 ResultStr += "(";
1276 ResultStr += "struct ";
1279 ResultStr += IDecl->getNameAsString();
1280 ResultStr += " *";
1283 ResultStr += Context->getObjCClassType().getAsString(
1286 ResultStr += " self, ";
1287 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1288 ResultStr += " _cmd";
1292 ResultStr += ", ";
1294 ResultStr += "id ";
1295 ResultStr += PDecl->getNameAsString();
1302 ResultStr += Name;
1306 ResultStr += ", ...";
1307 ResultStr += ") ";
1310 ResultStr += ")"; // close the precedence "scope" for "*".
1314 ResultStr += "(";
1316 if (i) ResultStr += ", ";
1319 ResultStr += ParamStr;
1323 ResultStr += ", ";
1324 ResultStr += "...";
1326 ResultStr += ")";
1328 ResultStr += "()";
1353 std::string ResultStr;
1354 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1360 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1366 std::string ResultStr;
1367 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1373 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1391 std::string ResultStr;
1394 RewriteOneForwardClassDecl(ClassDecl, ResultStr);
1395 RewriteIvarOffsetSymbols(ClassDecl, ResultStr);
1397 RewriteObjCInternalStruct(ClassDecl, ResultStr);
4020 void RewriteModernObjC::RewriteByRefString(std::string &ResultStr,
4026 ResultStr += "struct ";
4027 ResultStr += "__Block_byref_" + Name +
5869 std::string ResultStr;
5870 RewriteMetaDataIntoBuffer(ResultStr);
5872 *OutFile << ResultStr;
5876 std::string ResultStr;
5877 WriteImageInfo(ResultStr);
5878 *OutFile << ResultStr;