Skip to content
  1. Aug 10, 2008
  2. Aug 09, 2008
  3. Aug 08, 2008
  4. Aug 07, 2008
  5. Aug 06, 2008
    • Ted Kremenek's avatar
      Reorder serialization methods. · 8d78a09a
      Ted Kremenek authored
      When serializing DeclStmt, encode a bit indicating whether or not the DeclStmt owns the Decl.  This is an interim solution.
      
      llvm-svn: 54410
      8d78a09a
    • Daniel Dunbar's avatar
      Fix EmitNullInitializationToLValue for bitfield lvalues. · e8bdce44
      Daniel Dunbar authored
       - PR2643
      
      llvm-svn: 54397
      e8bdce44
    • Daniel Dunbar's avatar
      Fix bitfield accesses which straddle the boundary of the underlying · ead7c912
      Daniel Dunbar authored
      type.
      
       - This generates somewhat less optimal code than before but this is
         not hard to rectify once stable (at the cost of slightly more
         complex code).
      
       - This currently always uses little-endian ordering of the bitfield. 
      
       - This breaks the CodeGen/bitfield.c test because it was grepping for
         hard-coded assembly instructions. Will fix once a better test case
         is constructed (hard to do without execution).
      
       - This fixes SingleSource/UnitTests/2006-01-23-InitializedBitField.c
         and Regression/C/PR1386.c from the test suite.
      
       - <rdar://problem/6085090>, <rdar://problem/6094169>
      
      llvm-svn: 54395
      ead7c912
    • Daniel Dunbar's avatar
      Fix CodeGen of pointer arithmetic in compound assignment statements. · bfb1cd74
      Daniel Dunbar authored
       - Changed EmitSub to work on all cases (arithmetic, ptr - int, ptr -
         ptr) so that implementation matches that of other operators.
      
       - Modify EmitCompoundAssign to compute and perform the appropriate
         casts of left, right, and result types for the assorted pointer
         arithmetic cases.
      
       - Fix EmitSub (ptr - int) case to negate the rhs *after*
         extension. This is critical when the rhs is unsigned (and needs
         extension).
      
       - This fixes cfrac.
      
       - <rdr://6115726>
      
      llvm-svn: 54392
      bfb1cd74
Loading