diff options
Diffstat (limited to 'clang/lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | clang/lib/Frontend/PCHReaderDecl.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/clang/lib/Frontend/PCHReaderDecl.cpp b/clang/lib/Frontend/PCHReaderDecl.cpp index c279a217139..508d2ef170c 100644 --- a/clang/lib/Frontend/PCHReaderDecl.cpp +++ b/clang/lib/Frontend/PCHReaderDecl.cpp @@ -20,24 +20,6 @@ #include "clang/AST/Expr.h" using namespace clang; -// FIXME: Temporarily cloned from PCHReader.cpp. -namespace { - /// \brief Helper class that saves the current stream position and - /// then restores it when destroyed. - struct SavedStreamPosition { - explicit SavedStreamPosition(llvm::BitstreamCursor &Cursor) - : Cursor(Cursor), Offset(Cursor.GetCurrentBitNo()) { } - - ~SavedStreamPosition() { - Cursor.JumpToBit(Offset); - } - - private: - llvm::BitstreamCursor &Cursor; - uint64_t Offset; - }; -} - //===----------------------------------------------------------------------===// // Declaration deserialization |