Home
last modified time | relevance | path

Searched refs:RenameResult (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DRenameTests.cpp836 auto RenameResult = in TEST() local
838 ASSERT_TRUE(bool(RenameResult)) << RenameResult.takeError(); in TEST()
839 ASSERT_EQ(1u, RenameResult->GlobalChanges.size()); in TEST()
841 applyEdits(std::move(RenameResult->GlobalChanges)).front().second, in TEST()
1084 auto RenameResult = in TEST() local
1086 ASSERT_TRUE(bool(RenameResult)) << RenameResult.takeError() << Code.point(); in TEST()
1087 ASSERT_EQ(1u, RenameResult->GlobalChanges.size()); in TEST()
1088 EXPECT_EQ(applyEdits(std::move(RenameResult->GlobalChanges)).front().second, in TEST()
DSyncAPI.cpp100 llvm::Expected<RenameResult> runRename(ClangdServer &Server, PathRef File, in runRename()
103 llvm::Optional<llvm::Expected<RenameResult>> Result; in runRename()
108 llvm::Expected<RenameResult>
112 llvm::Optional<llvm::Expected<RenameResult>> Result; in runPrepareRename()
DSyncAPI.h43 llvm::Expected<RenameResult> runRename(ClangdServer &Server, PathRef File,
47 llvm::Expected<RenameResult>
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.h58 struct RenameResult { struct
71 llvm::Expected<RenameResult> rename(const RenameInputs &RInputs); argument
DRename.cpp593 llvm::Expected<RenameResult> rename(const RenameInputs &RInputs) { in rename()
666 RenameResult Result; in rename()
/external/llvm-project/clang-tools-extra/clangd/
DClangdServer.h281 Callback<RenameResult> CB);
289 const RenameOptions &Opts, Callback<RenameResult> CB);
DClangdServer.cpp360 Callback<RenameResult> CB) { in prepareRename()
389 Callback<RenameResult> CB) { in rename()
DClangdLSPServer.cpp813 [Reply = std::move(Reply)](llvm::Expected<RenameResult> Result) mutable { in onPrepareRename()
829 this](llvm::Expected<RenameResult> R) mutable { in onRename()