Home | History | Annotate | Download | only in Frontend

Lines Matching defs:ReplaceText

236       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
256 void ReplaceText(SourceLocation Start, unsigned OrigLength,
259 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
751 ReplaceText(ImportLoc, ImportLen, "include");
908 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
954 ReplaceText(LocEnd, 1, ";\n#endif\n");
963 ReplaceText(Loc, 0, "// ");
971 ReplaceText(LocStart, 0, "// ");
987 ReplaceText(CatDecl->getAtEndRange().getBegin(),
996 ReplaceText(LocStart, 0, "// ");
1013 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1021 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1026 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1037 ReplaceText(LocStart, 0, "// ");
1046 ReplaceText(LocStart, 0, "// ");
1194 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1209 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1252 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1447 ReplaceText(startLoc, strlen("break"), buf);
1464 ReplaceText(startLoc, strlen("continue"), buf);
1563 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1604 ReplaceText(lparenLoc, 1, buf);
1682 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1698 ReplaceText(rparenLoc, 1, buf);
1732 ReplaceText(lastCurlyLoc, 1, buf);
1785 ReplaceText(startLoc, 6, buf);
1810 ReplaceText(startLoc, 6, buf);
1832 ReplaceText(startLoc, 4, buf);
1854 ReplaceText(lastCurlyLoc, 1, buf);
1882 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1887 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1896 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1910 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;");
1940 ReplaceText(startLoc, 8, "/* @finally */");
1965 ReplaceText(lastCurlyLoc, 1, buf);
2001 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2006 ReplaceText(semiLoc, 1, ");");
2249 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2255 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3180 ReplaceText(LocStart, endBuf-startBuf, Result);
3222 ReplaceText(LocStart, endHeader-startBuf, Result);
3225 ReplaceText(LocStart, cursor-startBuf, Result);
3269 ReplaceText(caretLoc, 1, "*");
3282 ReplaceText(LocStart, endBuf-startBuf, Result);
4000 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4011 ReplaceText(LocStart, 1, "*");
4040 ReplaceText(DeclLoc, 1, "*");
4188 ReplaceText(Start, OrigLength, buf);
4369 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4396 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
4754 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());