Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:ResultStr

292                                ObjCMethodDecl *MDecl, std::string &ResultStr);
293 void RewriteTypeIntoString(QualType T, std::string &ResultStr,
295 void RewriteByRefString(std::string &ResultStr, const std::string &Name,
1091 void RewriteModernObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr,
1094 ResultStr += "id";
1106 ResultStr += FPRetType->getResultType().getAsString(
1108 ResultStr += "(*";
1111 ResultStr += T.getAsString(Context->getPrintingPolicy());
1116 std::string &ResultStr) {
1119 ResultStr += "\nstatic ";
1120 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType);
1121 ResultStr += " ";
1150 ResultStr += NameStr;
1153 ResultStr += "(";
1161 ResultStr += "struct ";
1164 ResultStr += IDecl->getNameAsString();
1165 ResultStr += " *";
1168 ResultStr += Context->getObjCClassType().getAsString(
1171 ResultStr += " self, ";
1172 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1173 ResultStr += " _cmd";
1179 ResultStr += ", ";
1181 ResultStr += "id ";
1182 ResultStr += PDecl->getNameAsString();
1189 ResultStr += Name;
1193 ResultStr += ", ...";
1194 ResultStr += ") ";
1197 ResultStr += ")"; // close the precedence "scope" for "*".
1201 ResultStr += "(";
1203 if (i) ResultStr += ", ";
1206 ResultStr += ParamStr;
1209 if (FT->getNumArgs()) ResultStr += ", ";
1210 ResultStr += "...";
1212 ResultStr += ")";
1214 ResultStr += "()";
1242 std::string ResultStr;
1244 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1250 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1257 std::string ResultStr;
1259 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1265 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1287 std::string ResultStr;
1290 RewriteOneForwardClassDecl(ClassDecl, ResultStr);
1291 RewriteIvarOffsetSymbols(ClassDecl, ResultStr);
1293 RewriteObjCInternalStruct(ClassDecl, ResultStr);
3705 void RewriteModernObjC::RewriteByRefString(std::string &ResultStr,
3711 ResultStr += "struct ";
3712 ResultStr += "__Block_byref_" + Name +
5588 std::string ResultStr;
5589 RewriteMetaDataIntoBuffer(ResultStr);
5591 *OutFile << ResultStr;
5595 std::string ResultStr;
5596 WriteImageInfo(ResultStr);
5597 *OutFile << ResultStr;