Home
last modified time | relevance | path

Searched refs:FileEdits (Results 1 – 9 of 9) sorted by relevance

/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp76 if (FA != FileEdits.end()) { in canInsertInOffset()
127 FileEdit &FA = FileEdits[Offs]; in commitInsert()
151 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitInsertFromRange()
152 if (I != FileEdits.begin()) in commitInsertFromRange()
155 for (; I != FileEdits.end(); ++I) { in commitInsertFromRange()
172 for (; I != FileEdits.end() && EndOffs > I->first; ++I) { in commitInsertFromRange()
205 FileEditsTy::iterator I = FileEdits.upper_bound(BeginOffs); in commitRemove()
206 if (I != FileEdits.begin()) in commitRemove()
209 for (; I != FileEdits.end(); ++I) { in commitRemove()
221 if (I == FileEdits.end()) { in commitRemove()
[all …]
/llvm-project/clang-tools-extra/clangd/unittests/tweaks/
H A DTweakTests.cpp38 TEST(FileEdits, AbsolutePath) { in TEST() argument
/llvm-project/clang-tools-extra/clangd/refactor/
H A DTweak.h77 FileEdits ApplyEdits;
H A DRename.h64 FileEdits GlobalChanges;
H A DRename.cpp920 llvm::Expected<FileEdits>
929 FileEdits Results; in renameOutsideFile()
1131 Result.GlobalChanges = FileEdits( in rename()
/llvm-project/clang/include/clang/Edit/
H A DEditedSource.h49 FileEditsTy FileEdits; variable
/llvm-project/clang-tools-extra/clangd/
H A DSourceCode.h209 using FileEdits = llvm::StringMap<Edit>; variable
H A DClangdLSPServer.cpp176 llvm::Error validateEdits(const ClangdServer &Server, const FileEdits &FE) { in validateEdits()
/llvm-project/clang-tools-extra/clangd/unittests/
H A DRenameTests.cpp80 applyEdits(FileEdits FE) { in applyEdits()
2138 EXPECT_EQ(applyEdits(FileEdits{{T.code(), std::move(*Edit)}}).front().second, in TEST()