llvm-6502/include/llvm/Bitcode/SerializationFwd.h
Ted Kremenek ec8cd06555 Added typedef "SerializedPtrID" to represent the pointer handle written to disk
instead of just using "unsigned".  This gives us more flexibility in changing
the definition of the handle later, and is more self-documenting.

Added tracking of block stack in the Deserializer.  Now clients can query
if they are still within a block using the methods GetCurrentBlockLocation()
and FinishedBlock().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43903 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-08 19:50:46 +00:00

28 lines
782 B
C++

//==- SerializationFwd.h - Forward references for Serialization ---*- C++ -*-=//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Ted Kremenek and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file provides forward references for bitcode object serialization.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_BITCODE_SERIALIZE_FWD
#define LLVM_BITCODE_SERIALIZE_FWD
namespace llvm {
class Serializer;
class Deserializer;
template <typename T> struct SerializeTrait;
typedef unsigned SerializedPtrID;
} // end namespace llvm
#endif