Home | History | Annotate | Download | only in Rewrite

Lines Matching refs:ReplaceText

278       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
298 void ReplaceText(SourceLocation Start, unsigned OrigLength,
301 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
820 ReplaceText(ImportLoc, ImportLen, "include");
1064 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
1114 ReplaceText(LocEnd, 1, ";\n#endif\n");
1123 ReplaceText(Loc, 0, "// ");
1132 ReplaceText(LocStart, 1, "/** ");
1133 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ ");
1136 ReplaceText(LocStart, 0, "// ");
1148 ReplaceText(CatDecl->getAtEndRange().getBegin(),
1157 ReplaceText(LocStart, 0, "// ");
1168 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n");
1176 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1181 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1192 ReplaceText(LocStart, 0, "// ");
1201 ReplaceText(LocStart, 0, "// ");
1337 ReplaceText(IMD->getLocStart(), 1, "/** ");
1338 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ ");
1355 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1366 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1402 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1610 ReplaceText(startLoc, strlen("break"), buf);
1640 ReplaceText(startLoc, strlen("continue"), buf);
1742 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1783 ReplaceText(lparenLoc, 1, buf);
1871 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1890 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf);
1901 ReplaceText(startRBraceLoc, 1, buf);
1921 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */");
1922 ReplaceText(S->getSubStmt()->getLocStart(), 1,
1948 ReplaceText(startLoc, 1, buf);
1951 ReplaceText(startLoc, 1, "");
1977 ReplaceText(startLoc, rParenBuf-startBuf+1, Result);
1988 ReplaceText(lBraceLoc, 1, Result);
1995 ReplaceText(startLoc, 1, "");
2013 ReplaceText(startFinalLoc, 8, buf);
2018 ReplaceText(startFinalBodyLoc, 1, buf);
2021 ReplaceText(endFinalBodyLoc, 1, "}\n}");
2049 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2057 ReplaceText(semiLoc, 1, ");");
2298 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3906 ReplaceText(LocStart, endBuf-startBuf, Result);
3953 ReplaceText(LocStart, endBuf-startBuf, Result);
4747 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4758 ReplaceText(LocStart, 1, "*");
4801 ReplaceText(DeclLoc, 1, "*");
4946 ReplaceText(Start, OrigLength, buf);
5145 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5157 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5549 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());