Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:ReplaceText

248       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
268 void ReplaceText(SourceLocation Start, unsigned OrigLength,
271 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
763 ReplaceText(ImportLoc, ImportLen, "include");
923 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
970 ReplaceText(LocEnd, 1, ";\n#endif\n");
979 ReplaceText(Loc, 0, "// ");
987 ReplaceText(LocStart, 0, "// ");
994 ReplaceText(LocStart, 0, "// ");
1013 ReplaceText(CatDecl->getAtEndRange().getBegin(),
1022 ReplaceText(LocStart, 0, "// ");
1039 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1047 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1052 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1063 ReplaceText(LocStart, 0, "// ");
1072 ReplaceText(LocStart, 0, "// ");
1081 ReplaceText(LocStart, 0, "// ");
1088 ReplaceText(LocRBrace, 0, "// ");
1230 ReplaceText(LocStart, 0, "// ");
1250 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1265 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1310 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1518 ReplaceText(startLoc, strlen("break"), buf);
1535 ReplaceText(startLoc, strlen("continue"), buf);
1634 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1675 ReplaceText(lparenLoc, 1, buf);
1761 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1780 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf);
1791 ReplaceText(startRBraceLoc, 1, buf);
1828 ReplaceText(startLoc, 1, buf);
1831 ReplaceText(startLoc, 1, "");
1855 ReplaceText(startLoc, rParenBuf-startBuf+1, Result);
1866 ReplaceText(lBraceLoc, 1, Result);
1873 ReplaceText(startLoc, 1, "");
1884 ReplaceText(startFinalLoc, 8, buf);
1889 ReplaceText(startFinalBodyLoc, 1, buf);
1892 ReplaceText(endFinalBodyLoc, 1, "}\n}");
1920 ReplaceText(startLoc, wBuf-startBuf+1, buf);
1926 ReplaceText(semiLoc, 1, ");");
2169 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2175 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3613 ReplaceText(LocStart, endBuf-startBuf, Result);
3632 ReplaceText(LocStart, endBuf-startBuf, Result);
4459 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4470 ReplaceText(LocStart, 1, "*");
4516 ReplaceText(DeclLoc, 1, "*");
4664 ReplaceText(Start, OrigLength, buf);
4845 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4872 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5268 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());