Skip to content

Commit b3e38a1

Browse files
committed
[clangd] NFC, remove an unused member in
IncludeStructure::RecordHeaders.
1 parent e2490b7 commit b3e38a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang-tools-extra/clangd/Headers.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class IncludeStructure::RecordHeaders : public PPCallbacks {
2929
public:
3030
RecordHeaders(const CompilerInstance &CI, IncludeStructure *Out)
3131
: SM(CI.getSourceManager()),
32-
HeaderInfo(CI.getPreprocessor().getHeaderSearchInfo()), Out(Out) {}
32+
Out(Out) {}
3333

3434
// Record existing #includes - both written and resolved paths. Only #includes
3535
// in the main file are collected.
@@ -119,7 +119,6 @@ class IncludeStructure::RecordHeaders : public PPCallbacks {
119119
bool inMainFile() const { return Level == 1; }
120120

121121
const SourceManager &SM;
122-
HeaderSearch &HeaderInfo;
123122
// Set after entering the <built-in> file.
124123
FileID BuiltinFile;
125124
// Indicates whether <built-in> file is part of include stack.

0 commit comments

Comments
 (0)