llvm-6502/include/llvm/Bitcode
Ted Kremenek ff37ccc570 Removed ReadVal from SerializeTrait<T>, and also removed it from
Deserializer.

There were issues with Visual C++ barfing when instantiating
SerializeTrait<T> when "T" was an abstract class AND
SerializeTrait<T>::ReadVal was *never* called:

template <typename T>
struct SerializeTrait {
 <SNIP>
  static inline T ReadVal(Deserializer& D) { T::ReadVal(D); }
 <SNIP>
};

Visual C++ would complain about "T" being an abstract class, even
though ReadVal was never instantiated (although one of the other
member functions were).

Removing this from the trait is not a big deal.  It was used hardly
ever, and users who want "read-by-value" deserialization can simply
call the appropriate methods directly instead of relying on
trait-based-dispatch.  The trait dispatch for
serialization/deserialization is simply sugar in many cases (like this
one).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43624 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-01 22:23:34 +00:00
..
Archive.h Add explicit keywords. 2007-10-08 15:08:41 +00:00
BitCodes.h Add explicit keywords. 2007-10-08 15:08:41 +00:00
BitstreamReader.h Silenced a VC++ warning. 2007-10-24 00:06:31 +00:00
BitstreamWriter.h Add explicit keywords. 2007-10-08 15:08:41 +00:00
Deserialize.h Removed ReadVal from SerializeTrait<T>, and also removed it from 2007-11-01 22:23:34 +00:00
LLVMBitCodes.h Long double, part 1 of N. Support in IR. 2007-08-03 01:03:46 +00:00
ReaderWriter.h add a new CreateBitcodeWriterPass method, which creates a bitcode writer as 2007-05-06 02:30:12 +00:00
Serialization.h Removed ReadVal from SerializeTrait<T>, and also removed it from 2007-11-01 22:23:34 +00:00
SerializationFwd.h Created header file to include minimal forward references needed for 2007-10-25 18:19:29 +00:00
Serialize.h Added Serializer::EmitRef to deal with emitting arbitrary references. 2007-10-31 18:23:21 +00:00