• Home
  • Raw
  • Download

Lines Matching refs:ReplaceText

228       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {  in ReplaceStmtWithRange()
248 void ReplaceText(SourceLocation Start, unsigned OrigLength, in ReplaceText() function in __anon424ac9480111::RewriteObjC
251 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()
1176 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1187 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1221 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"), in RewriteInterfaceDecl()
1416 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1433 ReplaceText(startLoc, strlen("continue"), buf); in RewriteContinueStmt()
1532 ReplaceText(startLoc, startCollectionBuf - startBuf, buf); in RewriteObjCForCollectionStmt()
1573 ReplaceText(lparenLoc, 1, buf); in RewriteObjCForCollectionStmt()
1651 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); in RewriteObjCSynchronizedStmt()
1667 ReplaceText(rparenLoc, 1, buf); in RewriteObjCSynchronizedStmt()
1702 ReplaceText(lastCurlyLoc, 1, buf); in RewriteObjCSynchronizedStmt()
1755 ReplaceText(startLoc, 6, buf); in RewriteTryReturnStmts()
1780 ReplaceText(startLoc, 6, buf); in RewriteSyncReturnStmts()
1802 ReplaceText(startLoc, 4, buf); in RewriteObjCTryStmt()
1824 ReplaceText(lastCurlyLoc, 1, buf); in RewriteObjCTryStmt()
1852 Rewrite.ReplaceText(startLoc, bodyBuf-startBuf+1, buf); in RewriteObjCTryStmt()
1857 ReplaceText(startLoc, lParenLoc-startBuf+1, buf); in RewriteObjCTryStmt()
1866 ReplaceText(startLoc, lParenLoc-startBuf+1, buf); in RewriteObjCTryStmt()
1880 ReplaceText(rParenLoc, bodyBuf-rParenBuf+1, " = _caught;"); in RewriteObjCTryStmt()
1910 ReplaceText(startLoc, 8, "/* @finally */"); in RewriteObjCTryStmt()
1935 ReplaceText(lastCurlyLoc, 1, buf); in RewriteObjCTryStmt()
1971 ReplaceText(startLoc, wBuf-startBuf+1, buf); in RewriteObjCThrowStmt()
1976 ReplaceText(semiLoc, 1, ");"); in RewriteObjCThrowStmt()
2213 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2219 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3114 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3156 ReplaceText(LocStart, endHeader-startBuf, Result); in RewriteObjCInternalStruct()
3159 ReplaceText(LocStart, cursor-startBuf, Result); in RewriteObjCInternalStruct()
3203 ReplaceText(caretLoc, 1, "*"); in RewriteObjCInternalStruct()
3216 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3919 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
3930 ReplaceText(LocStart, 1, "*"); in RewriteCastExpr()
3959 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4105 ReplaceText(Start, OrigLength, buf); in RewriteBlockPointerDecl()
4286 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
4313 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()