Home | History | Annotate | Download | only in Frontend

Lines Matching defs:ReplaceText

273       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
293 void ReplaceText(SourceLocation Start, unsigned OrigLength,
296 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
821 ReplaceText(ImportLoc, ImportLen, "include");
1065 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString);
1112 ReplaceText(LocEnd, 1, ";\n#endif\n");
1121 ReplaceText(Loc, 0, "// ");
1130 ReplaceText(LocStart, 1, "/** ");
1131 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ ");
1134 ReplaceText(LocStart, 0, "// ");
1151 ReplaceText(CatDecl->getAtEndRange().getBegin(),
1160 ReplaceText(LocStart, 0, "// ");
1177 ReplaceText(LocEnd, strlen("@end"), "/* @end */");
1185 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */");
1190 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */");
1201 ReplaceText(LocStart, 0, "// ");
1210 ReplaceText(LocStart, 0, "// ");
1219 ReplaceText(LocStart, 0, "// ");
1226 ReplaceText(LocRBrace, 0, "// ");
1362 ReplaceText(IMD->getLocStart(), 1, "/** ");
1363 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ ");
1384 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1399 ReplaceText(LocStart, endBuf-startBuf, ResultStr);
1444 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"),
1652 ReplaceText(startLoc, strlen("break"), buf);
1682 ReplaceText(startLoc, strlen("continue"), buf);
1784 ReplaceText(startLoc, startCollectionBuf - startBuf, buf);
1825 ReplaceText(lparenLoc, 1, buf);
1913 ReplaceText(startLoc, lparenBuf-startBuf+1, buf);
1932 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf);
1943 ReplaceText(startRBraceLoc, 1, buf);
1964 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */");
1965 ReplaceText(S->getSubStmt()->getLocStart(), 1,
1991 ReplaceText(startLoc, 1, buf);
1994 ReplaceText(startLoc, 1, "");
2020 ReplaceText(startLoc, rParenBuf-startBuf+1, Result);
2031 ReplaceText(lBraceLoc, 1, Result);
2038 ReplaceText(startLoc, 1, "");
2056 ReplaceText(startFinalLoc, 8, buf);
2061 ReplaceText(startFinalBodyLoc, 1, buf);
2064 ReplaceText(endFinalBodyLoc, 1, "}\n}");
2092 ReplaceText(startLoc, wBuf-startBuf+1, buf);
2100 ReplaceText(semiLoc, 1, ");");
2343 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2349 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4071 ReplaceText(LocStart, endBuf-startBuf, Result);
4118 ReplaceText(LocStart, endBuf-startBuf, Result);
4934 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString);
4945 ReplaceText(LocStart, 1, "*");
4991 ReplaceText(DeclLoc, 1, "*");
5139 ReplaceText(Start, OrigLength, buf);
5341 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
5353 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);
5745 // ReplaceText(startLoc, 0, messString.c_str(), messString.size());