• Home
  • Raw
  • Download

Lines Matching refs:ReplaceText

229       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {  in ReplaceStmtWithRange()
249 void ReplaceText(SourceLocation Start, unsigned OrigLength, in ReplaceText() function in __anon4905ea610111::RewriteObjC
252 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || in ReplaceText()
749 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude()
907 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
953 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
962 ReplaceText(Loc, 0, "// "); in RewriteProperty()
970 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl()
980 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
989 ReplaceText(LocStart, 0, "// "); in RewriteProtocolDecl()
1000 ReplaceText(LocEnd, strlen("@end"), "/* @end */"); in RewriteProtocolDecl()
1008 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */"); in RewriteProtocolDecl()
1013 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */"); in RewriteProtocolDecl()
1024 ReplaceText(LocStart, 0, "// "); in RewriteForwardProtocolDecl()
1033 ReplaceText(LocStart, 0, "// "); in RewriteForwardProtocolDecl()
1177 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1188 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1222 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"), in RewriteInterfaceDecl()
1417 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1434 ReplaceText(startLoc, strlen("continue"), buf); in RewriteContinueStmt()
1533 ReplaceText(startLoc, startCollectionBuf - startBuf, buf); in RewriteObjCForCollectionStmt()
1574 ReplaceText(lparenLoc, 1, buf); in RewriteObjCForCollectionStmt()
1652 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); in RewriteObjCSynchronizedStmt()
1668 ReplaceText(rparenLoc, 1, buf); in RewriteObjCSynchronizedStmt()
1703 ReplaceText(lastCurlyLoc, 1, buf); in RewriteObjCSynchronizedStmt()
1753 ReplaceText(startLoc, 6, buf); in RewriteTryReturnStmts()
1777 ReplaceText(startLoc, 6, buf); in RewriteSyncReturnStmts()
1798 ReplaceText(startLoc, 4, buf); in RewriteObjCTryStmt()
1820 ReplaceText(lastCurlyLoc, 1, buf); in RewriteObjCTryStmt()
1848 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf); in RewriteObjCTryStmt()
1853 ReplaceText(startLoc, lParenLoc-startBuf+1, buf); in RewriteObjCTryStmt()
1862 ReplaceText(startLoc, lParenLoc-startBuf+1, buf); in RewriteObjCTryStmt()
1876 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;"); in RewriteObjCTryStmt()
1906 ReplaceText(startLoc, 8, "/* @finally */"); in RewriteObjCTryStmt()
1931 ReplaceText(lastCurlyLoc, 1, buf); in RewriteObjCTryStmt()
1967 ReplaceText(startLoc, wBuf-startBuf+1, buf); in RewriteObjCThrowStmt()
1972 ReplaceText(semiLoc, 1, ");"); in RewriteObjCThrowStmt()
2209 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2215 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3106 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3148 ReplaceText(LocStart, endHeader-startBuf, Result); in RewriteObjCInternalStruct()
3151 ReplaceText(LocStart, cursor-startBuf, Result); in RewriteObjCInternalStruct()
3195 ReplaceText(caretLoc, 1, "*"); in RewriteObjCInternalStruct()
3208 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3906 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
3917 ReplaceText(LocStart, 1, "*"); in RewriteCastExpr()
3945 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4090 ReplaceText(Start, OrigLength, buf); in RewriteBlockPointerDecl()
4268 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4295 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()