Searched defs:ReplaceText (Results 1 - 4 of 4) sorted by relevance
/external/clang/include/clang/Rewrite/ |
H A D | Rewriter.h | 84 /// ReplaceText - This method replaces a range of characters in the input 87 void ReplaceText(unsigned OrigOffset, unsigned OrigLength, 227 /// ReplaceText - This method replaces a range of characters in the input 230 bool ReplaceText(SourceLocation Start, unsigned OrigLength, 233 /// ReplaceText - This method replaces a range of characters in the input 236 bool ReplaceText(SourceRange range, StringRef NewStr) { function in class:clang::Rewriter 237 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr); 240 /// ReplaceText - This method replaces a range of characters in the input 243 bool ReplaceText(SourceRange range, SourceRange replacementRange);
|
/external/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 100 /// ReplaceText - This method replaces a range of characters in the input 103 void RewriteBuffer::ReplaceText(unsigned OrigOffset, unsigned OrigLength, function in class:RewriteBuffer 295 /// ReplaceText - This method replaces a range of characters in the input 298 bool Rewriter::ReplaceText(SourceLocation Start, unsigned OrigLength, function in class:Rewriter 304 getEditBuffer(StartFileID).ReplaceText(StartOffs, OrigLength, NewStr); 308 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) { function in class:Rewriter 319 return ReplaceText(start, origLength, MB.substr(newOffs, newLength)); 337 ReplaceText(From->getLocStart(), Size, Str);
|
H A D | RewriteObjC.cpp | 234 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) { 254 void ReplaceText(SourceLocation Start, unsigned OrigLength, function in class:__anon3250::RewriteObjC 257 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || 745 ReplaceText(ImportLoc, ImportLen, "include"); 902 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); 949 ReplaceText(LocEnd, 1, ";\n#endif\n"); 958 ReplaceText(Loc, 0, "// "); 966 ReplaceText(LocStart, 0, "// "); 982 ReplaceText(CatDecl->getAtEndRange().getBegin(), 991 ReplaceText(LocStar [all...] |
H A D | RewriteModernObjC.cpp | 248 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) { 268 void ReplaceText(SourceLocation Start, unsigned OrigLength, function in class:__anon3247::RewriteModernObjC 271 if (!Rewrite.ReplaceText(Start, OrigLength, Str) || 763 ReplaceText(ImportLoc, ImportLen, "include"); 923 ReplaceText(startLoc, semiPtr-startBuf+1, typedefString); 970 ReplaceText(LocEnd, 1, ";\n#endif\n"); 979 ReplaceText(Loc, 0, "// "); 987 ReplaceText(LocStart, 0, "// "); 994 ReplaceText(LocStart, 0, "// "); 1013 ReplaceText(CatDec [all...] |
Completed in 64 milliseconds