Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.h182 std::string InitialCode; member
187 : Replacements(std::move(Reps)), InitialCode(Code) {} in Edit()
DSourceCode.cpp992 return tooling::applyAllReplacements(InitialCode, Replacements); in apply()
996 return replacementsToEdits(InitialCode, Replacements); in asTextEdits()
1005 auto RHS = llvm::MemoryBuffer::getMemBuffer(InitialCode); in canApplyTo()
1036 if (auto NewEdits = cleanupAndFormat(E.InitialCode, E.Replacements, Style)) in reformatEdit()
DClangdServer.cpp520 getFormatStyleForFile(File, E.InitialCode, TFS); in applyTweak()
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.h78 llvm::StringRef InitialCode,
DRename.cpp703 llvm::StringRef InitialCode, in buildRenameEdit() argument
726 positionToOffset(InitialCode.substr(LastOffset), Shifted); in buildRenameEdit()
753 return Edit(InitialCode, std::move(RenameEdit)); in buildRenameEdit()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DRenameTests.cpp73 It.getValue().InitialCode, It.getValue().Replacements))); in applyEdits()