From 3b8ac40e63970f2f730bbc838513f5c9c1c40941 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 25 Oct 2007 18:19:29 +0000 Subject: Created header file to include minimal forward references needed for object serialization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43352 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Bitcode/Serialization.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'include/llvm/Bitcode/Serialization.h') diff --git a/include/llvm/Bitcode/Serialization.h b/include/llvm/Bitcode/Serialization.h index 02db223..76aadb2 100644 --- a/include/llvm/Bitcode/Serialization.h +++ b/include/llvm/Bitcode/Serialization.h @@ -7,19 +7,17 @@ // //===----------------------------------------------------------------------===// // -// This file defines the interface for generic object serialization to -// LLVM bitcode. +// This file defines traits for primitive types used for both object +// serialization and deserialization. // //===----------------------------------------------------------------------===// #ifndef LLVM_BITCODE_SERIALIZE #define LLVM_BITCODE_SERIALIZE -namespace llvm { +#include "llvm/Bitcode/SerializationFwd.h" -class Serializer; -class Deserializer; -template struct SerializeTrait; +namespace llvm { #define SERIALIZE_INT_TRAIT(TYPE)\ template <> struct SerializeTrait {\ -- cgit v1.1