Home | History | Annotate | Download | only in Frontend

Lines Matching refs:ResultStr

281                                ObjCMethodDecl *MDecl, std::string &ResultStr);
282 void RewriteTypeIntoString(QualType T, std::string &ResultStr,
284 void RewriteByRefString(std::string &ResultStr, const std::string &Name,
1045 void RewriteObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr,
1048 ResultStr += "id";
1060 ResultStr +=
1062 ResultStr += "(*";
1065 ResultStr += T.getAsString(Context->getPrintingPolicy());
1070 std::string &ResultStr) {
1073 ResultStr += "\nstatic ";
1074 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType);
1075 ResultStr += " ";
1104 ResultStr += NameStr;
1107 ResultStr += "(";
1115 ResultStr += "struct ";
1118 ResultStr += IDecl->getNameAsString();
1119 ResultStr += " *";
1122 ResultStr += Context->getObjCClassType().getAsString(
1125 ResultStr += " self, ";
1126 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1127 ResultStr += " _cmd";
1131 ResultStr += ", ";
1133 ResultStr += "id ";
1134 ResultStr += PDecl->getNameAsString();
1141 ResultStr += Name;
1145 ResultStr += ", ...";
1146 ResultStr += ") ";
1149 ResultStr += ")"; // close the precedence "scope" for "*".
1153 ResultStr += "(";
1155 if (i) ResultStr += ", ";
1158 ResultStr += ParamStr;
1162 ResultStr += ", ";
1163 ResultStr += "...";
1165 ResultStr += ")";
1167 ResultStr += "()";
1178 std::string ResultStr;
1179 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1185 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1189 std::string ResultStr;
1190 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1196 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1205 std::string ResultStr;
1208 ResultStr = "#ifndef _REWRITER_typedef_";
1209 ResultStr += ClassDecl->getNameAsString();
1210 ResultStr += "\n";
1211 ResultStr += "#define _REWRITER_typedef_";
1212 ResultStr += ClassDecl->getNameAsString();
1213 ResultStr += "\n";
1214 ResultStr += "typedef struct objc_object ";
1215 ResultStr += ClassDecl->getNameAsString();
1216 ResultStr += ";\n#endif\n";
1220 RewriteObjCInternalStruct(ClassDecl, ResultStr);
3263 void RewriteObjC::RewriteByRefString(std::string &ResultStr,
3269 ResultStr += "struct ";
3270 ResultStr += "__Block_byref_" + Name +
4989 std::string ResultStr;
4990 RewriteMetaDataIntoBuffer(ResultStr);
4992 *OutFile << ResultStr;