aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r--include/clang/Basic/SourceManager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h
index 6798a21200..e019f0ecf4 100644
--- a/include/clang/Basic/SourceManager.h
+++ b/include/clang/Basic/SourceManager.h
@@ -71,6 +71,14 @@ namespace SrcMgr {
NumLines = RHS.NumLines;
}
+ /// Emit - Emit this ContentCache to Bitcode.
+ void Emit(llvm::Serializer& S, bool StoreBufferName,
+ bool StoreBufferContents) const;
+
+ /// Read - Reconstitute a ContentCache from Bitcode.
+ void Read(llvm::Deserializer& D, std::vector<char>* BufferNameBuf,
+ bool ReadBufferContents);
+
private:
// Disable assignments.
ContentCache& operator=(const ContentCache& RHS);