diff options
Diffstat (limited to 'clang/include/clang/Frontend/PCHReader.h')
-rw-r--r-- | clang/include/clang/Frontend/PCHReader.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/include/clang/Frontend/PCHReader.h b/clang/include/clang/Frontend/PCHReader.h index d5157bc3ce4..a32be0dd7b4 100644 --- a/clang/include/clang/Frontend/PCHReader.h +++ b/clang/include/clang/Frontend/PCHReader.h @@ -39,6 +39,7 @@ namespace llvm { namespace clang { class AddrLabelExpr; +class ASTConsumer; class ASTContext; class Attr; class Decl; @@ -77,6 +78,9 @@ private: /// \brief The AST context into which we'll read the PCH file. ASTContext &Context; + /// \brief The AST consumer. + ASTConsumer *Consumer; + /// \brief The bitstream reader from which we'll read the PCH file. llvm::BitstreamReader Stream; @@ -198,7 +202,7 @@ public: typedef llvm::SmallVector<uint64_t, 64> RecordData; explicit PCHReader(Preprocessor &PP, ASTContext &Context) - : SemaObj(0), PP(PP), Context(Context), + : SemaObj(0), PP(PP), Context(Context), Consumer(0), IdentifierTableData(0), NumStatementsRead(0) { } ~PCHReader() {} |