OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Replaces
(Results
1 - 12
of
12
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/tools/clang-format/fuzzer/
ClangFormatFuzzer.cpp
22
auto
Replaces
= reformat(Style, s, clang::tooling::Range(0, s.size()));
23
auto Result = applyAllReplacements(s,
Replaces
);
/src/external/apache2/llvm/dist/clang/include/clang/Tooling/Core/
Replacement.h
219
explicit Replacements(const Replacement &R) {
Replaces
.insert(R); }
260
/// Merges \p
Replaces
into the current replacements. \p
Replaces
262
LLVM_NODISCARD Replacements merge(const Replacements &
Replaces
) const;
272
unsigned size() const { return
Replaces
.size(); }
274
void clear() {
Replaces
.clear(); }
276
bool empty() const { return
Replaces
.empty(); }
278
const_iterator begin() const { return
Replaces
.begin(); }
280
const_iterator end() const { return
Replaces
.end(); }
282
const_reverse_iterator rbegin() const { return
Replaces
.rbegin();
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
AtomicChange.cpp
33
Replaces
(E.getReplacements().begin(), E.getReplacements().end()) {}
45
std::vector<clang::tooling::Replacement>
Replaces
;
61
Io.mapRequired("Replacements", Doc.
Replaces
);
76
Io.mapRequired("Replacements", Keys->
Replaces
);
109
const clang::tooling::Replacements &
Replaces
) {
118
for (const clang::tooling::Replacement &R :
Replaces
) {
181
// file path in all replacements and
replaces
them with \p FilePath.
185
Replacements
Replaces
;
188
if (auto Err =
Replaces
.add(Replacement(
191
return
Replaces
;
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Tooling/Core/
Replacement.cpp
194
for (const auto &R :
Replaces
) {
216
// `R` and `
Replaces
` are order-independent if applying them in either order
223
// the code after the existing replacements `
Replaces
` are applied.
225
// A Replacements set that is `
Replaces
` referring to the code after `R` is
228
for (const auto &Replace :
Replaces
)
229
ReplacesShiftedByRs.
Replaces
.insert(
231
// This is equivalent to applying `
Replaces
` first and then `R`.
233
// This is equivalent to applying `R` first and then `
Replaces
`.
242
R, *
Replaces
.begin());
247
if (!
Replaces
.empty() && R.getFilePath() != Replaces.begin()->getFilePath()
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
AtomicChange.h
85
/// Adds a replacement that
replaces
the given Range with
91
/// Adds a replacement that
replaces
range [Loc, Loc+Length) with
117
const Replacements &getReplacements() const { return
Replaces
; }
135
clang::tooling::Replacements
Replaces
);
143
tooling::Replacements
Replaces
;
174
/// This completely ignores the file path in each change and
replaces
them with
/src/external/apache2/llvm/dist/clang/tools/clang-format/
ClangFormat.cpp
299
static void outputReplacementsXML(const Replacements &
Replaces
) {
300
for (const auto &R :
Replaces
) {
310
emitReplacementWarnings(const Replacements &
Replaces
, StringRef AssumedFileName,
312
if (
Replaces
.empty())
322
for (const auto &R :
Replaces
) {
337
static void outputXML(const Replacements &
Replaces
,
352
outputReplacementsXML(
Replaces
);
412
Replacements
Replaces
= sortIncludes(*FormatStyle, Code->getBuffer(), Ranges,
414
auto ChangedCode = tooling::applyAllReplacements(Code->getBuffer(),
Replaces
);
420
Ranges = tooling::calculateRangesAfterReplacements(
Replaces
, Ranges)
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Format/
WhitespaceManager.h
46
///
Replaces
the whitespace in front of \p Tok. Only call once for
64
/// Inserts or
replaces
whitespace in the middle of a token.
115
// The kind of the token whose whitespace this change
replaces
, or in which
210
/// Fill \c
Replaces
with the replacements for all effective changes.
227
tooling::Replacements
Replaces
;
Format.cpp
1550
//
Replaces
double/single-quoted string literal as appropriate, re-escaping
2255
// adding the necessary replacement to '
Replaces
'. 'Includes' must be in strict
2264
StringRef Code, tooling::Replacements &
Replaces
,
2344
auto Err =
Replaces
.add(tooling::Replacement(
2364
tooling::Replacements &
Replaces
,
2419
Replaces
, Cursor);
2435
sortCppIncludes(Style, IncludesInBlock, Ranges, FileName, Code,
Replaces
,
2438
return
Replaces
;
2459
// JavaImportGroups, then adding the necessary replacement to '
Replaces
'.
2466
StringRef Code, tooling::Replacements &
Replaces
) {
[
all
...]
WhitespaceManager.cpp
72
return
Replaces
.add(Replacement);
92
return
Replaces
;
105
return
Replaces
;
979
auto Err =
Replaces
.add(tooling::Replacement(
/src/external/apache2/llvm/dist/clang/include/clang/Format/
Format.h
3511
/// \p
Replaces
on success; otheriwse, return an llvm::Error carrying
3514
formatReplacements(StringRef Code, const tooling::Replacements &
Replaces
,
3517
/// Returns the replacements corresponding to applying \p
Replaces
and
3531
cleanupAroundReplacements(StringRef Code, const tooling::Replacements &
Replaces
,
/src/external/gpl3/gcc.old/dist/libphobos/src/std/
array.d
40
$(TD
Replaces
all occurrences of a certain subrange and puts the result into a given array.
43
$(TD
Replaces
all occurrences of a certain subrange and puts the result into an output range.
2803
Replaces
elements from `array` with indices ranging from `from`
2944
Replaces
elements from `array` with indices ranging from `from`
3148
Replaces
the first occurrence of `from` with `to` in `subject`.
3252
Replaces
the last occurrence of `from` with `to` in `subject`.
string.d
4906
Replaces
spaces in `s` with the optimal number of tabs.
4946
Replaces
spaces in range `r` with the optimal number of tabs.
5263
Replaces
the characters in `str` which are keys in `transTable` with
5832
Replaces
the characters in `str` which are in `from` with the
Completed in 29 milliseconds
Indexes created Wed Aug 19 00:25:20 UTC 2026