HomeSort by relevance Sort by last modified time
    Searched refs:ReplaceText (Results 1 - 5 of 5) sorted by null

  /external/clang/include/clang/Rewrite/
Rewriter.h 86 /// ReplaceText - This method replaces a range of characters in the input
89 void ReplaceText(unsigned OrigOffset, unsigned OrigLength,
229 /// ReplaceText - This method replaces a range of characters in the input
232 bool ReplaceText(SourceLocation Start, unsigned OrigLength,
235 /// ReplaceText - This method replaces a range of characters in the input
238 bool ReplaceText(SourceRange range, llvm::StringRef NewStr) {
239 return ReplaceText(range.getBegin(), getRangeSize(range), NewStr);
242 /// ReplaceText - This method replaces a range of characters in the input
245 bool ReplaceText(SourceRange range, SourceRange replacementRange);
  /external/clang/lib/Rewrite/
HTMLRewrite.cpp 129 RB.ReplaceText(FilePos, 1, " ");
133 RB.ReplaceText(FilePos, 1, "<hr>");
142 RB.ReplaceText(FilePos, 1,
146 RB.ReplaceText(FilePos, 1, llvm::StringRef(" ", NumSpaces));
151 RB.ReplaceText(FilePos, 1, "&lt;");
156 RB.ReplaceText(FilePos, 1, "&gt;");
161 RB.ReplaceText(FilePos, 1, "&amp;");
Rewriter.cpp 100 /// ReplaceText - This method replaces a range of characters in the input
103 void RewriteBuffer::ReplaceText(unsigned OrigOffset, unsigned OrigLength,
297 /// ReplaceText - This method replaces a range of characters in the input
300 bool Rewriter::ReplaceText(SourceLocation Start, unsigned OrigLength,
306 getEditBuffer(StartFileID).ReplaceText(StartOffs, OrigLength, NewStr);
310 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) {
321 return ReplaceText(start, origLength, MB.substr(newOffs, newLength));
339 ReplaceText(From->getLocStart(), Size, Str);
RewriteObjC.cpp 212 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
232 void ReplaceText(SourceLocation Start, unsigned OrigLength,
235 if (!Rewrite.ReplaceText(Start, OrigLength, Str) ||
751 ReplaceText(ImportLoc, ImportLen, "include");
    [all...]
FixItRewriter.cpp 130 if (Rewrite.ReplaceText(Hint.RemoveRange.getBegin(),

Completed in 40 milliseconds