Lines Matching defs:ReplaceText

278       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, SStr)) {
298 void ReplaceText(SourceLocation Start, unsigned OrigLength,
301 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
824 ReplaceText(ImportLoc, ImportLen, "include");
1066 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
1116 ReplaceText(LocEnd, 1, ";\n#endif\n");
1125 ReplaceText(Loc, 0, "// ");
1134 ReplaceText(LocStart, 1, "/** ");
1135 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ ");
1138 ReplaceText(LocStart, 0, "// ");
1150 ReplaceText(CatDecl->getAtEndRange().getBegin(),
1159 ReplaceText(LocStart, 0, "// ");
1170 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n");
1178 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1183 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1194 ReplaceText(LocStart, 0, "// ");
1203 ReplaceText(LocStart, 0, "// ");
1340 ReplaceText(IMD->getBeginLoc(), 1, "/** ");
1341 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ ");
1360 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1373 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1409 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1617 ReplaceText(startLoc, strlen("break"), buf);
1647 ReplaceText(startLoc, strlen("continue"), buf);
1749 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1790 ReplaceText(lparenLoc, 1, buf);
1878 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1897 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf);
1908 ReplaceText(startRBraceLoc, 1, buf);
1928 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */");
1929 ReplaceText(S->getSubStmt()->getBeginLoc(), 1,
1955 ReplaceText(startLoc, 1, buf);
1958 ReplaceText(startLoc, 1, "");
1984 ReplaceText(startLoc, rParenBuf-startBuf+1, Result);
1995 ReplaceText(lBraceLoc, 1, Result);
2002 ReplaceText(startLoc, 1, "");
2020 ReplaceText(startFinalLoc, 8, buf);
2025 ReplaceText(startFinalBodyLoc, 1, buf);
2028 ReplaceText(endFinalBodyLoc, 1, "}\n}");
2056 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2064 ReplaceText(semiLoc, 1, ");");
2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2310 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3896 ReplaceText(LocStart, endBuf-startBuf, Result);
3943 ReplaceText(LocStart, endBuf-startBuf, Result);
4732 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4743 ReplaceText(LocStart, 1, "*");
4786 ReplaceText(DeclLoc, 1, "*");
4931 ReplaceText(Start, OrigLength, buf);
5130 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5142 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5534 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());