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

Lines Matching defs:ReplaceText

278       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
298 void ReplaceText(SourceLocation Start, unsigned OrigLength,
301 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, ");");
2302 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2308 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3902 ReplaceText(LocStart, endBuf-startBuf, Result);
3949 ReplaceText(LocStart, endBuf-startBuf, Result);
4740 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4751 ReplaceText(LocStart, 1, "*");
4794 ReplaceText(DeclLoc, 1, "*");
4939 ReplaceText(Start, OrigLength, buf);
5138 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5150 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5541 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());