diff options
| author | Ted Kremenek <kremenek@apple.com> | 2007-10-25 18:19:29 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2007-10-25 18:19:29 +0000 |
| commit | 3b8ac40e63970f2f730bbc838513f5c9c1c40941 (patch) | |
| tree | 0c762085dc5d189a40c8ce7e7bc5c16ea605fc80 /include/llvm/Bitcode/Serialization.h | |
| parent | e949512dfabaa68d53c37238918794a687d0fc9d (diff) | |
| download | external_llvm-3b8ac40e63970f2f730bbc838513f5c9c1c40941.zip external_llvm-3b8ac40e63970f2f730bbc838513f5c9c1c40941.tar.gz external_llvm-3b8ac40e63970f2f730bbc838513f5c9c1c40941.tar.bz2 | |
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
Diffstat (limited to 'include/llvm/Bitcode/Serialization.h')
| -rw-r--r-- | include/llvm/Bitcode/Serialization.h | 10 |
1 files changed, 4 insertions, 6 deletions
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 <typename T> struct SerializeTrait; +namespace llvm { #define SERIALIZE_INT_TRAIT(TYPE)\ template <> struct SerializeTrait<TYPE> {\ |
