Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:ReplaceText

234       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
254 void ReplaceText(SourceLocation Start, unsigned OrigLength,
257 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
745 ReplaceText(ImportLoc, ImportLen, "include");
902 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
949 ReplaceText(LocEnd, 1, ";\n#endif\n");
958 ReplaceText(Loc, 0, "// ");
966 ReplaceText(LocStart, 0, "// ");
982 ReplaceText(CatDecl->getAtEndRange().getBegin(),
991 ReplaceText(LocStart, 0, "// ");
1008 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1016 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1021 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1032 ReplaceText(LocStart, 0, "// ");
1041 ReplaceText(LocStart, 0, "// ");
1189 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1204 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1247 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1442 ReplaceText(startLoc, strlen("break"), buf);
1459 ReplaceText(startLoc, strlen("continue"), buf);
1558 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1599 ReplaceText(lparenLoc, 1, buf);
1677 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1693 ReplaceText(rparenLoc, 1, buf);
1728 ReplaceText(lastCurlyLoc, 1, buf);
1781 ReplaceText(startLoc, 6, buf);
1806 ReplaceText(startLoc, 6, buf);
1828 ReplaceText(startLoc, 4, buf);
1850 ReplaceText(lastCurlyLoc, 1, buf);
1878 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1883 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1892 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1906 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;");
1936 ReplaceText(startLoc, 8, "/* @finally */");
1961 ReplaceText(lastCurlyLoc, 1, buf);
1997 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2002 ReplaceText(semiLoc, 1, ");");
2245 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2251 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3181 ReplaceText(LocStart, endBuf-startBuf, Result);
3223 ReplaceText(LocStart, endHeader-startBuf, Result);
3226 ReplaceText(LocStart, cursor-startBuf, Result);
3270 ReplaceText(caretLoc, 1, "*");
3283 ReplaceText(LocStart, endBuf-startBuf, Result);
4003 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4014 ReplaceText(LocStart, 1, "*");
4043 ReplaceText(DeclLoc, 1, "*");
4191 ReplaceText(Start, OrigLength, buf);
4372 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4399 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
4757 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());