Skip to content

Commit

Permalink
[NFC] Remove unused member function 'Error' from PCHValidator
Browse files Browse the repository at this point in the history
As the title suggested.
  • Loading branch information
ChuanqiXu9 committed Nov 7, 2023
1 parent 5d39f3f commit d0c778c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions clang/include/clang/Serialization/ASTReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,6 @@ class PCHValidator : public ASTReaderListener {
StringRef SpecificModuleCachePath,
bool Complain) override;
void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;

private:
void Error(const char *Msg);
};

/// ASTReaderListenter implementation to set SuggestedPredefines of
Expand Down
4 changes: 0 additions & 4 deletions clang/include/clang/Serialization/ASTRecordReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,6 @@ struct SavedStreamPosition {
uint64_t Offset;
};

inline void PCHValidator::Error(const char *Msg) {
Reader.Error(Msg);
}

} // namespace clang

#endif

0 comments on commit d0c778c

Please sign in to comment.