diff options
Diffstat (limited to 'clang/include/clang/Frontend/PCHReader.h')
-rw-r--r-- | clang/include/clang/Frontend/PCHReader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Frontend/PCHReader.h b/clang/include/clang/Frontend/PCHReader.h index 1352908ef18..c4f90a3c794 100644 --- a/clang/include/clang/Frontend/PCHReader.h +++ b/clang/include/clang/Frontend/PCHReader.h @@ -273,6 +273,9 @@ public: /// supplements. ASTContext &getContext() { return Context; } + /// \brief Retrieve the stream that this PCH reader is reading from. + llvm::BitstreamReader &getStream() { return Stream; } + /// \brief Record that the given ID maps to the given switch-case /// statement. void RecordSwitchCaseID(SwitchCase *SC, unsigned ID); |