[clang-tools-extra] b1309a1 - [clangd] Revert unwanted change from D108194
Kirill Bobyrev via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 8 01:42:39 PDT 2021
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.
More information about the cfe-commits
mailing list