Skip to content
  1. Nov 04, 2007
  2. Nov 03, 2007
  3. Nov 02, 2007
  4. Nov 01, 2007
    • Neil Booth's avatar
      Add back line whose removal somehow crept into prior patch · ae077d23
      Neil Booth authored
      llvm-svn: 43627
      ae077d23
    • Neil Booth's avatar
      When converting to integer, do bit manipulations in the destination · 618d0fc3
      Neil Booth authored
      memory rather than in a copy of the APFloat.  This avoids problems
      when the destination is wider than our significand and is cleaner.
      
      Also provide deterministic values in all cases where conversion
      fails, namely zero for NaNs and the minimal or maximal value
      respectively for underflow or overflow.
      
      llvm-svn: 43626
      618d0fc3
    • Ted Kremenek's avatar
      Simplified Serialization code for SourceLocation and SourceRange, and · 5e2eb261
      Ted Kremenek authored
      updated it to the recently updated Serialization API.
      
      Changed clients of SourceLocation serialization to call the
      appropriate new methods.
      
      Updated Decl serialization code to put new skeleton serialization code
      in place that is much better than the older trait-specialization
      approach.
      
      llvm-svn: 43625
      5e2eb261
    • Ted Kremenek's avatar
      Removed ReadVal from SerializeTrait<T>, and also removed it from · 478c6982
      Ted Kremenek authored
      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).
      
      llvm-svn: 43624
      478c6982
Loading