Skip to content

Commit d0c778c

Browse files
committed
[NFC] Remove unused member function 'Error' from PCHValidator
As the title suggested.
1 parent 5d39f3f commit d0c778c

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

clang/include/clang/Serialization/ASTReader.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,6 @@ class PCHValidator : public ASTReaderListener {
312312
StringRef SpecificModuleCachePath,
313313
bool Complain) override;
314314
void ReadCounter(const serialization::ModuleFile &M, unsigned Value) override;
315-
316-
private:
317-
void Error(const char *Msg);
318315
};
319316

320317
/// ASTReaderListenter implementation to set SuggestedPredefines of

clang/include/clang/Serialization/ASTRecordReader.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,10 +370,6 @@ struct SavedStreamPosition {
370370
uint64_t Offset;
371371
};
372372

373-
inline void PCHValidator::Error(const char *Msg) {
374-
Reader.Error(Msg);
375-
}
376-
377373
} // namespace clang
378374

379375
#endif

0 commit comments

Comments
 (0)