Commit d0c778c8 authored by Chuanqi Xu's avatar Chuanqi Xu
Browse files

[NFC] Remove unused member function 'Error' from PCHValidator

As the title suggested.
parent 5d39f3f6
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -312,9 +312,6 @@ public:
                               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
+0 −4
Original line number Diff line number Diff line
@@ -370,10 +370,6 @@ private:
  uint64_t Offset;
};

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

} // namespace clang

#endif