Home
last modified time | relevance | path

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

/external/clang/include/clang/Tooling/Core/
DReplacement.h89 StringRef ReplacementText);
94 unsigned Length, StringRef ReplacementText);
98 StringRef ReplacementText,
104 StringRef ReplacementText,
117 StringRef getReplacementText() const { return ReplacementText; } in getReplacementText()
129 StringRef ReplacementText);
132 StringRef ReplacementText,
137 std::string ReplacementText; variable
244 const Node &NodeToReplace, StringRef ReplacementText, in Replacement() argument
248 setFromSourceRange(Sources, Range, ReplacementText, LangOpts); in Replacement()
/external/clang/include/clang/Tooling/
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/Core/
DReplacement.cpp36 StringRef ReplacementText) in Replacement() argument
38 ReplacementText(ReplacementText) {} in Replacement()
41 unsigned Length, StringRef ReplacementText) { in Replacement() argument
42 setFromSourceLocation(Sources, Start, Length, ReplacementText); in Replacement()
47 StringRef ReplacementText, in Replacement() argument
49 setFromSourceRange(Sources, Range, ReplacementText, LangOpts); in Replacement()
70 Start, ReplacementRange.getLength(), ReplacementText); in apply()
79 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString()
107 StringRef ReplacementText) { in setFromSourceLocation() argument
113 this->ReplacementText = ReplacementText; in setFromSourceLocation()
[all …]
/external/clang/lib/Format/
DWhitespaceManager.cpp483 std::string ReplacementText = C.PreviousLinePostfix; in generateChanges() local
485 appendNewlineText(ReplacementText, C.NewlinesBefore, in generateChanges()
488 appendNewlineText(ReplacementText, C.NewlinesBefore); in generateChanges()
489 appendIndentText(ReplacementText, C.IndentLevel, std::max(0, C.Spaces), in generateChanges()
491 ReplacementText.append(C.CurrentLinePrefix); in generateChanges()
492 storeReplacement(C.OriginalWhitespaceRange, ReplacementText); in generateChanges()
DFormat.cpp857 StringRef ReplacementText) { in requoteJSStringLiteral() argument
859 Length, ReplacementText)); in requoteJSStringLiteral()
/external/clang/unittests/Tooling/
DRefactoringTest.cpp38 llvm::StringRef ReplacementText) { in createReplacement() argument
39 return Replacement(Context.Sources, Start, Length, ReplacementText); in createReplacement()
/external/clang/unittests/Format/
DFormatTest.cpp11522 llvm::StringRef ReplacementText) { in createReplacement() argument
11524 ReplacementText); in createReplacement()