Home
last modified time | relevance | path

Searched refs:ReplacementText (Results 1 – 5 of 5) sorted by relevance

/external/clang/include/clang/Tooling/
DRefactoring.h82 unsigned Length, StringRef ReplacementText);
87 StringRef ReplacementText);
91 StringRef ReplacementText);
96 StringRef ReplacementText);
108 StringRef getReplacementText() const { return ReplacementText; } in getReplacementText()
119 unsigned Length, StringRef ReplacementText);
122 StringRef ReplacementText);
126 std::string ReplacementText; variable
235 const Node &NodeToReplace, StringRef ReplacementText) { in Replacement() argument
238 setFromSourceRange(Sources, Range, ReplacementText); in Replacement()
DReplacementsYaml.h36 : FilePath(""), Offset(0), Length(0), ReplacementText("") {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
40 Length(R.getLength()), ReplacementText(R.getReplacementText()) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
44 ReplacementText); in LLVM_YAML_IS_SEQUENCE_VECTOR()
50 std::string ReplacementText; in LLVM_YAML_IS_SEQUENCE_VECTOR()
59 Io.mapRequired("ReplacementText", Keys->ReplacementText); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/clang/lib/Tooling/
DRefactoring.cpp34 StringRef ReplacementText) in Replacement() argument
36 ReplacementText(ReplacementText) {} in Replacement()
39 unsigned Length, StringRef ReplacementText) { in Replacement() argument
40 setFromSourceLocation(Sources, Start, Length, ReplacementText); in Replacement()
45 StringRef ReplacementText) { in Replacement() argument
46 setFromSourceRange(Sources, Range, ReplacementText); in Replacement()
73 Start, ReplacementRange.getLength(), ReplacementText); in apply()
82 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString()
105 StringRef ReplacementText) { in setFromSourceLocation() argument
119 this->ReplacementText = ReplacementText; in setFromSourceLocation()
[all …]
/external/clang/lib/Format/
DWhitespaceManager.cpp266 std::string ReplacementText = C.PreviousLinePostfix; in generateChanges() local
268 appendNewlineText(ReplacementText, C.NewlinesBefore, in generateChanges()
271 appendNewlineText(ReplacementText, C.NewlinesBefore); in generateChanges()
272 appendIndentText(ReplacementText, C.IndentLevel, std::max(0, C.Spaces), in generateChanges()
274 ReplacementText.append(C.CurrentLinePrefix); in generateChanges()
275 storeReplacement(C.OriginalWhitespaceRange, ReplacementText); in generateChanges()
/external/clang/unittests/Tooling/
DRefactoringTest.cpp37 llvm::StringRef ReplacementText) { in createReplacement() argument
38 return Replacement(Context.Sources, Start, Length, ReplacementText); in createReplacement()