• Home
  • Raw
  • Download

Lines Matching refs:ReplaceText

278       if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {  in ReplaceStmtWithRange()
298 void ReplaceText(SourceLocation Start, unsigned OrigLength, in ReplaceText() function in __anon8682a12a0111::RewriteModernObjC
301 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || in ReplaceText()
820 ReplaceText(ImportLoc, ImportLen, "include"); in RewriteInclude()
1064 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); in RewriteForwardClassEpilogue()
1114 ReplaceText(LocEnd, 1, ";\n#endif\n"); in RewriteMethodDeclaration()
1123 ReplaceText(Loc, 0, "// "); in RewriteProperty()
1132 ReplaceText(LocStart, 1, "/** "); in RewriteCategoryDecl()
1133 ReplaceText(CatDecl->getIvarRBraceLoc(), 1, "**/ "); in RewriteCategoryDecl()
1136 ReplaceText(LocStart, 0, "// "); in RewriteCategoryDecl()
1148 ReplaceText(CatDecl->getAtEndRange().getBegin(), in RewriteCategoryDecl()
1157 ReplaceText(LocStart, 0, "// "); in RewriteProtocolDecl()
1168 ReplaceText(LocEnd, strlen("@end"), "/* @end */\n"); in RewriteProtocolDecl()
1176 ReplaceText(OptionalLoc, strlen("@optional"), "/* @optional */"); in RewriteProtocolDecl()
1181 ReplaceText(OptionalLoc, strlen("@required"), "/* @required */"); in RewriteProtocolDecl()
1192 ReplaceText(LocStart, 0, "// "); in RewriteForwardProtocolDecl()
1201 ReplaceText(LocStart, 0, "// "); in RewriteForwardProtocolDecl()
1337 ReplaceText(IMD->getLocStart(), 1, "/** "); in RewriteImplementationDecl()
1338 ReplaceText(IMD->getIvarRBraceLoc(), 1, "**/ "); in RewriteImplementationDecl()
1355 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1366 ReplaceText(LocStart, endBuf-startBuf, ResultStr); in RewriteImplementationDecl()
1402 ReplaceText(ClassDecl->getAtEndRange().getBegin(), strlen("@end"), in RewriteInterfaceDecl()
1610 ReplaceText(startLoc, strlen("break"), buf); in RewriteBreakStmt()
1640 ReplaceText(startLoc, strlen("continue"), buf); in RewriteContinueStmt()
1742 ReplaceText(startLoc, startCollectionBuf - startBuf, buf); in RewriteObjCForCollectionStmt()
1783 ReplaceText(lparenLoc, 1, buf); in RewriteObjCForCollectionStmt()
1871 ReplaceText(startLoc, lparenBuf-startBuf+1, buf); in RewriteObjCSynchronizedStmt()
1890 ReplaceText(RParenExprLoc, (LBraceLocBuf - SM->getCharacterData(RParenExprLoc) + 1), buf); in RewriteObjCSynchronizedStmt()
1901 ReplaceText(startRBraceLoc, 1, buf); in RewriteObjCSynchronizedStmt()
1921 ReplaceText(startLoc, strlen("@autoreleasepool"), "/* @autoreleasepool */"); in RewriteObjCAutoreleasePoolStmt()
1922 ReplaceText(S->getSubStmt()->getLocStart(), 1, in RewriteObjCAutoreleasePoolStmt()
1948 ReplaceText(startLoc, 1, buf); in RewriteObjCTryStmt()
1951 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
1977 ReplaceText(startLoc, rParenBuf-startBuf+1, Result); in RewriteObjCTryStmt()
1988 ReplaceText(lBraceLoc, 1, Result); in RewriteObjCTryStmt()
1995 ReplaceText(startLoc, 1, ""); in RewriteObjCTryStmt()
2013 ReplaceText(startFinalLoc, 8, buf); in RewriteObjCTryStmt()
2018 ReplaceText(startFinalBodyLoc, 1, buf); in RewriteObjCTryStmt()
2021 ReplaceText(endFinalBodyLoc, 1, "}\n}"); in RewriteObjCTryStmt()
2049 ReplaceText(startLoc, wBuf-startBuf+1, buf); in RewriteObjCThrowStmt()
2057 ReplaceText(semiLoc, 1, ");"); in RewriteObjCThrowStmt()
2298 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl()
3906 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
3953 ReplaceText(LocStart, endBuf-startBuf, Result); in RewriteObjCInternalStruct()
4747 ReplaceText(LocStart, endBuf-startBuf+1, TypeAsString); in RewriteCastExpr()
4758 ReplaceText(LocStart, 1, "*"); in RewriteCastExpr()
4801 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4946 ReplaceText(Start, OrigLength, buf); in RewriteBlockPointerDecl()
5145 ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType); in RewriteByRefVar()
5157 ReplaceText(DeclLoc, endBuf-startBuf, ByrefType); in RewriteByRefVar()