summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Frontend/PCHReader.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Frontend/PCHReader.h')
-rw-r--r--clang/include/clang/Frontend/PCHReader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/include/clang/Frontend/PCHReader.h b/clang/include/clang/Frontend/PCHReader.h
index 6795e2adf47..81f18432eed 100644
--- a/clang/include/clang/Frontend/PCHReader.h
+++ b/clang/include/clang/Frontend/PCHReader.h
@@ -83,7 +83,7 @@ private:
Preprocessor &PP;
/// \brief The AST context into which we'll read the PCH file.
- ASTContext &Context;
+ ASTContext *Context;
/// \brief The AST consumer.
ASTConsumer *Consumer;
@@ -298,7 +298,7 @@ private:
public:
typedef llvm::SmallVector<uint64_t, 64> RecordData;
- explicit PCHReader(Preprocessor &PP, ASTContext &Context);
+ explicit PCHReader(Preprocessor &PP, ASTContext *Context);
~PCHReader();
PCHReadResult ReadPCH(const std::string &FileName);
@@ -453,7 +453,7 @@ public:
/// \brief Retrieve the AST context that this PCH reader
/// supplements.
- ASTContext &getContext() { return Context; }
+ ASTContext *getContext() { return Context; }
// \brief Contains declarations that were loaded before we have
// access to a Sema object.
OpenPOWER on IntegriCloud