Home | History | Annotate | Download | only in Frontend

Lines Matching refs:ResultStr

280                                ObjCMethodDecl *MDecl, std::string &ResultStr);
281 void RewriteTypeIntoString(QualType T, std::string &ResultStr,
283 void RewriteByRefString(std::string &ResultStr, const std::string &Name,
1049 void RewriteObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr,
1052 ResultStr += "id";
1064 ResultStr += FPRetType->getResultType().getAsString(
1066 ResultStr += "(*";
1069 ResultStr += T.getAsString(Context->getPrintingPolicy());
1074 std::string &ResultStr) {
1077 ResultStr += "\nstatic ";
1078 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType);
1079 ResultStr += " ";
1108 ResultStr += NameStr;
1111 ResultStr += "(";
1119 ResultStr += "struct ";
1122 ResultStr += IDecl->getNameAsString();
1123 ResultStr += " *";
1126 ResultStr += Context->getObjCClassType().getAsString(
1129 ResultStr += " self, ";
1130 ResultStr += Context->getObjCSelType().getAsString(Context->getPrintingPolicy());
1131 ResultStr += " _cmd";
1137 ResultStr += ", ";
1139 ResultStr += "id ";
1140 ResultStr += PDecl->getNameAsString();
1147 ResultStr += Name;
1151 ResultStr += ", ...";
1152 ResultStr += ") ";
1155 ResultStr += ")"; // close the precedence "scope" for "*".
1159 ResultStr += "(";
1161 if (i) ResultStr += ", ";
1164 ResultStr += ParamStr;
1167 if (FT->getNumArgs()) ResultStr += ", ";
1168 ResultStr += "...";
1170 ResultStr += ")";
1172 ResultStr += "()";
1186 std::string ResultStr;
1188 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1194 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1201 std::string ResultStr;
1203 RewriteObjCMethodDecl(OMD->getClassInterface(), OMD, ResultStr);
1209 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1222 std::string ResultStr;
1225 ResultStr = "#ifndef _REWRITER_typedef_";
1226 ResultStr += ClassDecl->getNameAsString();
1227 ResultStr += "\n";
1228 ResultStr += "#define _REWRITER_typedef_";
1229 ResultStr += ClassDecl->getNameAsString();
1230 ResultStr += "\n";
1231 ResultStr += "typedef struct objc_object ";
1232 ResultStr += ClassDecl->getNameAsString();
1233 ResultStr += ";\n#endif\n";
1237 RewriteObjCInternalStruct(ClassDecl, ResultStr);
3309 void RewriteObjC::RewriteByRefString(std::string &ResultStr,
3315 ResultStr += "struct ";
3316 ResultStr += "__Block_byref_" + Name +
5044 std::string ResultStr;
5045 RewriteMetaDataIntoBuffer(ResultStr);
5047 *OutFile << ResultStr;