Home | History | Annotate | Download | only in Frontend

Lines Matching refs:ReplaceText

288       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
308 void ReplaceText(SourceLocation Start, unsigned OrigLength,
311 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
842 ReplaceText(ImportLoc, ImportLen, "include");
1087 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
1137 ReplaceText(LocEnd, 1, ";\n#endif\n");
1146 ReplaceText(Loc, 0, "// ");
1155 ReplaceText(LocStart, 1, "/** ");
1156 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ ");
1159 ReplaceText(LocStart, 0, "// ");
1171 ReplaceText(CatDecl->getAtEndRange().getBegin(),
1180 ReplaceText(LocStart, 0, "// ");
1191 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n");
1199 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1204 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1215 ReplaceText(LocStart, 0, "// ");
1224 ReplaceText(LocStart, 0, "// ");
1233 ReplaceText(LocStart, 0, "// ");
1240 ReplaceText(LocRBrace, 0, "// ");
1375 ReplaceText(IMD->getLocStart(), 1, "/** ");
1376 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ ");
1393 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1404 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1440 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1648 ReplaceText(startLoc, strlen("break"), buf);
1678 ReplaceText(startLoc, strlen("continue"), buf);
1780 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1821 ReplaceText(lparenLoc, 1, buf);
1909 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1928 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf);
1939 ReplaceText(startRBraceLoc, 1, buf);
1960 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */");
1961 ReplaceText(S->getSubStmt()->getLocStart(), 1,
1987 ReplaceText(startLoc, 1, buf);
1990 ReplaceText(startLoc, 1, "");
2016 ReplaceText(startLoc, rParenBuf-startBuf+1, Result);
2027 ReplaceText(lBraceLoc, 1, Result);
2034 ReplaceText(startLoc, 1, "");
2052 ReplaceText(startFinalLoc, 8, buf);
2057 ReplaceText(startFinalBodyLoc, 1, buf);
2060 ReplaceText(endFinalBodyLoc, 1, "}\n}");
2088 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2096 ReplaceText(semiLoc, 1, ");");
2336 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2342 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4007 ReplaceText(LocStart, endBuf-startBuf, Result);
4054 ReplaceText(LocStart, endBuf-startBuf, Result);
4868 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4879 ReplaceText(LocStart, 1, "*");
4925 ReplaceText(DeclLoc, 1, "*");
5071 ReplaceText(Start, OrigLength, buf);
5273 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5285 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5676 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());