Skip to content

Commit

Permalink
[clangd] NFC, remove an unused member in
Browse files Browse the repository at this point in the history
IncludeStructure::RecordHeaders.
  • Loading branch information
hokein committed Jun 1, 2023
1 parent e2490b7 commit b3e38a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clang-tools-extra/clangd/Headers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class IncludeStructure::RecordHeaders : public PPCallbacks {
public:
RecordHeaders(const CompilerInstance &CI, IncludeStructure *Out)
: SM(CI.getSourceManager()),
HeaderInfo(CI.getPreprocessor().getHeaderSearchInfo()), Out(Out) {}
Out(Out) {}

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

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

0 comments on commit b3e38a1

Please sign in to comment.