Author: Kirill Bobyrev Date: 2021-10-08T10:42:30+02:00 New Revision: b1309a1ed99deb3508da9d53fee2ae1f766d8432
URL: https://github.com/llvm/llvm-project/commit/b1309a1ed99deb3508da9d53fee2ae1f766d8432 DIFF: https://github.com/llvm/llvm-project/commit/b1309a1ed99deb3508da9d53fee2ae1f766d8432.diff LOG: [clangd] Revert unwanted change from D108194 Left-overs from the review process were not deleted. Added: Modified: clang-tools-extra/clangd/Headers.h Removed: ################################################################################ diff --git a/clang-tools-extra/clangd/Headers.h b/clang-tools-extra/clangd/Headers.h index 815131572eac1..7b42598b819cb 100644 --- a/clang-tools-extra/clangd/Headers.h +++ b/clang-tools-extra/clangd/Headers.h @@ -125,11 +125,6 @@ class IncludeStructure { // populates the structure. std::unique_ptr<PPCallbacks> collect(const SourceManager &SM); - void setMainFileEntry(const FileEntry *Entry) { - assert(Entry && Entry->isValid()); - this->MainFileEntry = Entry; - } - // HeaderID identifies file in the include graph. It corresponds to a // FileEntry rather than a FileID, but stays stable across preamble & main // file builds. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits