• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/

Lines Matching defs:ReplaceText

229       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
249 void ReplaceText(SourceLocation Start, unsigned OrigLength,
252 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
749 ReplaceText(ImportLoc, ImportLen, "include");
910 ReplaceText(startLoc, semiPtr - startBuf + 1, typedefString);
956 ReplaceText(LocEnd, 1, ";\n#endif\n");
965 ReplaceText(Loc, 0, "// ");
973 ReplaceText(LocStart, 0, "// ");
983 ReplaceText(CatDecl->getAtEndRange().getBegin(),
992 ReplaceText(LocStart, 0, "// ");
1003 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1011 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1016 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1027 ReplaceText(LocStart, 0, "// ");
1036 ReplaceText(LocStart, 0, "// ");
1183 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);
1761 ReplaceText(startLoc, 6, buf);
1785 ReplaceText(startLoc, 6, buf);
1806 ReplaceText(startLoc, 4, buf);
1828 ReplaceText(lastCurlyLoc, 1, buf);
1856 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf);
1861 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1870 ReplaceText(startLoc, lParenLoc-startBuf+1, buf);
1884 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;");
1914 ReplaceText(startLoc, 8, "/* @finally */");
1939 ReplaceText(lastCurlyLoc, 1, buf);
1975 ReplaceText(startLoc, wBuf-startBuf+1, buf);
1980 ReplaceText(semiLoc, 1, ");");
2216 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2222 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3114 ReplaceText(LocStart, endBuf-startBuf, Result);
3156 ReplaceText(LocStart, endHeader-startBuf, Result);
3159 ReplaceText(LocStart, cursor-startBuf, Result);
3203 ReplaceText(caretLoc, 1, "*");
3216 ReplaceText(LocStart, endBuf-startBuf, Result);
3911 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
3922 ReplaceText(LocStart, 1, "*");
3950 ReplaceText(DeclLoc, 1, "*");
4095 ReplaceText(Start, OrigLength, buf);
4273 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
4300 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
4653 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());