diff options
Diffstat (limited to 'include/clang/Frontend/ASTUnit.h')
-rw-r--r-- | include/clang/Frontend/ASTUnit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Frontend/ASTUnit.h b/include/clang/Frontend/ASTUnit.h index b1cdb46d505bf..2a8df1b7b9aeb 100644 --- a/include/clang/Frontend/ASTUnit.h +++ b/include/clang/Frontend/ASTUnit.h @@ -51,6 +51,7 @@ class DiagnosticsEngine; class FileEntry; class FileManager; class HeaderSearch; +class MemoryBufferCache; class Preprocessor; class PCHContainerOperations; class PCHContainerReader; @@ -84,6 +85,7 @@ private: IntrusiveRefCntPtr<DiagnosticsEngine> Diagnostics; IntrusiveRefCntPtr<FileManager> FileMgr; IntrusiveRefCntPtr<SourceManager> SourceMgr; + IntrusiveRefCntPtr<MemoryBufferCache> PCMCache; std::unique_ptr<HeaderSearch> HeaderInfo; IntrusiveRefCntPtr<TargetInfo> Target; std::shared_ptr<Preprocessor> PP; @@ -519,6 +521,8 @@ public: const FileSystemOptions &getFileSystemOpts() const { return FileSystemOpts; } + IntrusiveRefCntPtr<ASTReader> getASTReader() const; + StringRef getOriginalSourceFileName() { return OriginalSourceFile; } |