Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/unittests/
DRenameTests.cpp839 ASSERT_EQ(1u, RenameResult->GlobalChanges.size()); in TEST()
841 applyEdits(std::move(RenameResult->GlobalChanges)).front().second, in TEST()
1057 ASSERT_EQ(1u, Results->GlobalChanges.size()); in TEST()
1058 EXPECT_EQ(applyEdits(std::move(Results->GlobalChanges)).front().second, in TEST()
1087 ASSERT_EQ(1u, RenameResult->GlobalChanges.size()); in TEST()
1088 EXPECT_EQ(applyEdits(std::move(RenameResult->GlobalChanges)).front().second, in TEST()
1134 EXPECT_TRUE(Results->GlobalChanges.empty()); in TEST()
1194 applyEdits(std::move(Results->GlobalChanges)), in TEST()
1215 applyEdits(std::move(Results->GlobalChanges)), in TEST()
1300 applyEdits(std::move(Results->GlobalChanges)), in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.h65 FileEdits GlobalChanges; member
DRename.cpp676 Result.GlobalChanges = FileEdits( in rename()
684 assert(Result.GlobalChanges.empty() && Opts.AllowCrossFile); in rename()
695 Result.GlobalChanges = *OtherFilesEdits; in rename()
697 Result.GlobalChanges.try_emplace(RInputs.MainFilePath, in rename()
/external/llvm-project/clang-tools-extra/clangd/
DClangdServer.cpp416 for (auto &E : R->GlobalChanges) in rename()
423 RenameFiles.record(R->GlobalChanges.size()); in rename()
DClangdLSPServer.cpp832 if (auto Err = validateEdits(DraftMgr, R->GlobalChanges)) in onRename()
836 for (const auto &Rep : R->GlobalChanges) { in onRename()