Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:ReplaceText

212       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
232 void ReplaceText(SourceLocation Start, unsigned OrigLength,
235 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
751 ReplaceText(ImportLoc, ImportLen, "include");
925 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
939 ReplaceText(LocEnd, 1, ";\n#endif\n");
948 ReplaceText(Loc, 0, "// ");
956 ReplaceText(LocStart, 0, "// ");
972 ReplaceText(CatDecl->getAtEndRange().getBegin(),
980 ReplaceText(LocStart, 0, "// ");
997 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1005 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1010 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1021 ReplaceText(LocStart, 0, "// ");
1171 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1186 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1229 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1550 ReplaceText(startLoc, strlen("break"), buf);
1567 ReplaceText(startLoc, strlen("continue"), buf);
1666 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1707 ReplaceText(lparenLoc, 1, buf);
1785 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1801 ReplaceText(rparenLoc, 1, buf);
1830 ReplaceText(lastCurlyLoc, 1, buf);
1883 ReplaceText(startLoc, 6, buf);
1908 ReplaceText(startLoc, 6, buf);
1930 ReplaceText(startLoc, 4, buf);
1952 ReplaceText(lastCurlyLoc, 1, buf);
1980 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1985 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1994 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
2008 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;");
2038 ReplaceText(startLoc, 8, "/* @finally */");
2063 ReplaceText(lastCurlyLoc, 1, buf);
2099 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2104 ReplaceText(semiLoc, 1, ");");
2347 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2353 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3246 ReplaceText(LocStart, endBuf-startBuf, Result);
3288 ReplaceText(LocStart, endHeader-startBuf, Result);
3291 ReplaceText(LocStart, cursor-startBuf, Result);
3335 ReplaceText(caretLoc, 1, "*");
3348 ReplaceText(LocStart, endBuf-startBuf, Result);
4828 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4839 ReplaceText(LocStart, 1, "*");
4868 ReplaceText(DeclLoc, 1, "*");
5016 ReplaceText(Start, OrigLength, buf);
5197 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5224 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5674 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());