Lines Matching defs:ReplaceText
277 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, SStr)) {
297 void ReplaceText(SourceLocation Start, unsigned OrigLength,
300 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
823 ReplaceText(ImportLoc, ImportLen, "include");
1065 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
1115 ReplaceText(LocEnd, 1, ";\n#endif\n");
1124 ReplaceText(Loc, 0, "// ");
1133 ReplaceText(LocStart, 1, "/** ");
1134 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ ");
1137 ReplaceText(LocStart, 0, "// ");
1149 ReplaceText(CatDecl->getAtEndRange().getBegin(),
1158 ReplaceText(LocStart, 0, "// ");
1169 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n");
1177 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1182 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1193 ReplaceText(LocStart, 0, "// ");
1202 ReplaceText(LocStart, 0, "// ");
1339 ReplaceText(IMD->getBeginLoc(), 1, "/** ");
1340 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ ");
1359 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1372 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1408 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1616 ReplaceText(startLoc, strlen("break"), buf);
1646 ReplaceText(startLoc, strlen("continue"), buf);
1748 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1789 ReplaceText(lparenLoc, 1, buf);
1877 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1896 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf);
1907 ReplaceText(startRBraceLoc, 1, buf);
1927 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */");
1928 ReplaceText(S->getSubStmt()->getBeginLoc(), 1,
1954 ReplaceText(startLoc, 1, buf);
1957 ReplaceText(startLoc, 1, "");
1983 ReplaceText(startLoc, rParenBuf-startBuf+1, Result);
1994 ReplaceText(lBraceLoc, 1, Result);
2001 ReplaceText(startLoc, 1, "");
2019 ReplaceText(startFinalLoc, 8, buf);
2024 ReplaceText(startFinalBodyLoc, 1, buf);
2027 ReplaceText(endFinalBodyLoc, 1, "}\n}");
2055 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2063 ReplaceText(semiLoc, 1, ");");
2303 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2309 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3896 ReplaceText(LocStart, endBuf-startBuf, Result);
3943 ReplaceText(LocStart, endBuf-startBuf, Result);
4716 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4727 ReplaceText(LocStart, 1, "*");
4770 ReplaceText(DeclLoc, 1, "*");
4915 ReplaceText(Start, OrigLength, buf);
5114 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5126 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5500 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());