OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ReplaceText
(Results
1 - 11
of
11
) sorted by null
/external/clang/unittests/Tooling/
RewriterTest.cpp
21
Context.Rewrite.
ReplaceText
(Context.getLocation(ID, 2, 1), 5, "replaced");
30
Context.Rewrite.
ReplaceText
(Context.getLocation(FailingID, 1, 2), 1, "other");
33
Context.Rewrite.
ReplaceText
(Context.getLocation(WorkingID, 2, 1), 5,
/external/clang/include/clang/Rewrite/Core/
Rewriter.h
134
///
ReplaceText
- This method replaces a range of characters in the input
137
bool
ReplaceText
(SourceLocation Start, unsigned OrigLength,
140
///
ReplaceText
- This method replaces a range of characters in the input
143
bool
ReplaceText
(SourceRange range, StringRef NewStr) {
144
return
ReplaceText
(range.getBegin(), getRangeSize(range), NewStr);
147
///
ReplaceText
- This method replaces a range of characters in the input
150
bool
ReplaceText
(SourceRange range, SourceRange replacementRange);
RewriteBuffer.h
84
///
ReplaceText
- This method replaces a range of characters in the input
87
void
ReplaceText
(unsigned OrigOffset, unsigned OrigLength,
/external/clang/lib/Rewrite/
HTMLRewrite.cpp
128
RB.
ReplaceText
(FilePos, 1, " ");
132
RB.
ReplaceText
(FilePos, 1, "<hr>");
141
RB.
ReplaceText
(FilePos, 1,
145
RB.
ReplaceText
(FilePos, 1, StringRef(" ", NumSpaces));
150
RB.
ReplaceText
(FilePos, 1, "<");
155
RB.
ReplaceText
(FilePos, 1, ">");
160
RB.
ReplaceText
(FilePos, 1, "&");
Rewriter.cpp
105
///
ReplaceText
- This method replaces a range of characters in the input
108
void RewriteBuffer::
ReplaceText
(unsigned OrigOffset, unsigned OrigLength,
300
///
ReplaceText
- This method replaces a range of characters in the input
303
bool Rewriter::
ReplaceText
(SourceLocation Start, unsigned OrigLength,
309
getEditBuffer(StartFileID).
ReplaceText
(StartOffs, OrigLength, NewStr);
313
bool Rewriter::
ReplaceText
(SourceRange range, SourceRange replacementRange) {
324
return
ReplaceText
(start, origLength, MB.substr(newOffs, newLength));
/external/clang/lib/Frontend/Rewrite/
RewriteObjC.cpp
229
if (!Rewrite.
ReplaceText
(SrcRange.getBegin(), Size, Str)) {
249
void
ReplaceText
(SourceLocation Start, unsigned OrigLength,
252
if (!Rewrite.
ReplaceText
(Start, OrigLength, Str) ||
749
ReplaceText
(ImportLoc, ImportLen, "include");
[
all
...]
RewriteModernObjC.cpp
278
if (!Rewrite.
ReplaceText
(SrcRange.getBegin(), Size, Str)) {
298
void
ReplaceText
(SourceLocation Start, unsigned OrigLength,
301
if (!Rewrite.
ReplaceText
(Start, OrigLength, Str) ||
[
all
...]
FixItRewriter.cpp
68
Rewrite.
ReplaceText
(range.getBegin(), Rewrite.getRangeSize(range), text);
/external/bcc/src/cc/frontends/clang/
b_frontend_action.cc
431
rewriter_.
ReplaceText
(expansionLoc(E->getOperatorLoc()), 1, pre);
489
rewriter_.
ReplaceText
(expansionRange(SourceRange(member, GET_ENDLOC(E))), post);
538
rewriter_.
ReplaceText
(lbracket_range, lbracket);
541
rewriter_.
ReplaceText
(expansionLoc(E->getRBracketLoc()), 1, rbracket);
684
rewriter_.
ReplaceText
(
691
rewriter_.
ReplaceText
(S->getLBracLoc(), 1, preamble);
[
all
...]
/external/clang/lib/Tooling/Core/
Replacement.cpp
66
//
ReplaceText
returns false on success.
67
//
ReplaceText
only fails if the source location is not a file location, in
69
bool RewriteSucceeded = !Rewrite.
ReplaceText
(
/external/clang/lib/ARCMigrate/
ObjCMT.cpp
[
all
...]
Completed in 2896 milliseconds