Lines Matching defs:ReplaceText

227       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
247 void ReplaceText(SourceLocation Start, unsigned OrigLength,
250 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
748 ReplaceText(ImportLoc, ImportLen, "include");
909 ReplaceText(startLoc, semiPtr - startBuf + 1, typedefString);
955 ReplaceText(LocEnd, 1, ";\n#endif\n");
964 ReplaceText(Loc, 0, "// ");
972 ReplaceText(LocStart, 0, "// ");
982 ReplaceText(CatDecl->getAtEndRange().getBegin(),
991 ReplaceText(LocStart, 0, "// ");
1002 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1010 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1015 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1026 ReplaceText(LocStart, 0, "// ");
1035 ReplaceText(LocStart, 0, "// ");
1182 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1195 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1229 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1424 ReplaceText(startLoc, strlen("break"), buf);
1441 ReplaceText(startLoc, strlen("continue"), buf);
1540 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1581 ReplaceText(lparenLoc, 1, buf);
1659 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1675 ReplaceText(rparenLoc, 1, buf);
1710 ReplaceText(lastCurlyLoc, 1, buf);
1760 ReplaceText(startLoc, 6, buf);
1784 ReplaceText(startLoc, 6, buf);
1805 ReplaceText(startLoc, 4, buf);
1827 ReplaceText(lastCurlyLoc, 1, buf);
1855 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1860 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1869 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1883 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;");
1913 ReplaceText(startLoc, 8, "/* @finally */");
1938 ReplaceText(lastCurlyLoc, 1, buf);
1974 ReplaceText(startLoc, wBuf-startBuf+1, buf);
1979 ReplaceText(semiLoc, 1, ");");
2216 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2222 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3105 ReplaceText(LocStart, endBuf-startBuf, Result);
3147 ReplaceText(LocStart, endHeader-startBuf, Result);
3150 ReplaceText(LocStart, cursor-startBuf, Result);
3194 ReplaceText(caretLoc, 1, "*");
3207 ReplaceText(LocStart, endBuf-startBuf, Result);
3895 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
3906 ReplaceText(LocStart, 1, "*");
3934 ReplaceText(DeclLoc, 1, "*");
4079 ReplaceText(Start, OrigLength, buf);
4256 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4283 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
4626 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());