Home
last modified time | relevance | path

Searched refs:getReplacementText (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Tooling/Core/
DReplacement.cpp100 return LHS.getReplacementText() < RHS.getReplacementText(); in operator <()
107 LHS.getReplacementText() == RHS.getReplacementText(); in operator ==()
151 Offset += R.getReplacementText().size() - R.getLength(); in shiftedCodePositionInternal()
155 R.getOffset() + R.getReplacementText().size() <= Position) { in shiftedCodePositionInternal()
156 Position = R.getOffset() + R.getReplacementText().size() - 1; in shiftedCodePositionInternal()
184 return LHS.getReplacementText() < RHS.getReplacementText(); in deduplicate()
190 LHS.getReplacementText() == RHS.getReplacementText(); in deduplicate()
273 I->getReplacementText()); in applyAllReplacements()
310 Text(R.getReplacementText()) { in MergedReplacement()
329 Text = (Head + R.getReplacementText() + Tail).str(); in merge()
[all …]
/external/clang/unittests/Tooling/
DReplacementsYamlTest.cpp78 ASSERT_EQ("replacement #1", DocActual.Replacements[0].getReplacementText()); in TEST()
82 ASSERT_EQ("replacement #2", DocActual.Replacements[1].getReplacementText()); in TEST()
105 ASSERT_EQ("replacement", DocActual.Replacements[0].getReplacementText()); in TEST()
DRefactoringTest.cpp518 << M.getReplacementText() << "\n"; in mergeAndTestRewrite()
530 << M.getReplacementText() << "\n"; in mergeAndTestRewrite()
/external/clang/include/clang/Tooling/
DReplacementsYaml.h40 Length(R.getLength()), ReplacementText(R.getReplacementText()) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/clang/include/clang/Tooling/Core/
DReplacement.h110 StringRef getReplacementText() const { return ReplacementText; } in getReplacementText() function
/external/clang/tools/clang-format/
DClangFormat.cpp234 outputReplacementXML(R.getReplacementText()); in outputReplacementsXML()