Home | History | Annotate | Download | only in Frontend

Lines Matching refs:ReplaceText

237       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
257 void ReplaceText(SourceLocation Start, unsigned OrigLength,
260 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
758 ReplaceText(ImportLoc, ImportLen, "include");
916 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
962 ReplaceText(LocEnd, 1, ";\n#endif\n");
971 ReplaceText(Loc, 0, "// ");
979 ReplaceText(LocStart, 0, "// ");
989 ReplaceText(CatDecl->getAtEndRange().getBegin(),
998 ReplaceText(LocStart, 0, "// ");
1009 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1017 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1022 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1033 ReplaceText(LocStart, 0, "// ");
1042 ReplaceText(LocStart, 0, "// ");
1185 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1196 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1230 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1425 ReplaceText(startLoc, strlen("break"), buf);
1442 ReplaceText(startLoc, strlen("continue"), buf);
1541 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1582 ReplaceText(lparenLoc, 1, buf);
1660 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1676 ReplaceText(rparenLoc, 1, buf);
1711 ReplaceText(lastCurlyLoc, 1, buf);
1764 ReplaceText(startLoc, 6, buf);
1789 ReplaceText(startLoc, 6, buf);
1811 ReplaceText(startLoc, 4, buf);
1833 ReplaceText(lastCurlyLoc, 1, buf);
1861 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1866 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1875 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1889 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;");
1919 ReplaceText(startLoc, 8, "/* @finally */");
1944 ReplaceText(lastCurlyLoc, 1, buf);
1980 ReplaceText(startLoc, wBuf-startBuf+1, buf);
1985 ReplaceText(semiLoc, 1, ");");
2221 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2227 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3134 ReplaceText(LocStart, endBuf-startBuf, Result);
3176 ReplaceText(LocStart, endHeader-startBuf, Result);
3179 ReplaceText(LocStart, cursor-startBuf, Result);
3223 ReplaceText(caretLoc, 1, "*");
3236 ReplaceText(LocStart, endBuf-startBuf, Result);
3952 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
3963 ReplaceText(LocStart, 1, "*");
3992 ReplaceText(DeclLoc, 1, "*");
4138 ReplaceText(Start, OrigLength, buf);
4319 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4346 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
4703 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());