Skip to content

Commit b1309a1

Browse files
committed
[clangd] Revert unwanted change from D108194
Left-overs from the review process were not deleted.
1 parent 4c98070 commit b1309a1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

clang-tools-extra/clangd/Headers.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ class IncludeStructure {
125125
// populates the structure.
126126
std::unique_ptr<PPCallbacks> collect(const SourceManager &SM);
127127

128-
void setMainFileEntry(const FileEntry *Entry) {
129-
assert(Entry && Entry->isValid());
130-
this->MainFileEntry = Entry;
131-
}
132-
133128
// HeaderID identifies file in the include graph. It corresponds to a
134129
// FileEntry rather than a FileID, but stays stable across preamble & main
135130
// file builds.

0 commit comments

Comments
 (0)