Skip to content
  1. Dec 19, 2011
  2. Dec 18, 2011
    • Dylan Noblesmith's avatar
      test/Analysis: fix error message · fb758746
      Dylan Noblesmith authored
      llvm-svn: 146848
      fb758746
    • Richard Smith's avatar
      PR11604: don't allow floating-literal-to-integer casts in ICEs if the (truncated) · 0b973d09
      Richard Smith authored
      floating literal value does not fit into the destination type. Such casts have
      undefined behavior at translation time; treating them as non-ICE matches the
      behavior of modern gcc versions.
      
      llvm-svn: 146842
      0b973d09
    • Douglas Gregor's avatar
      Completely re-implement (de-)serialization of declaration · 05f10357
      Douglas Gregor authored
      chains. The previous implementation relied heavily on the declaration
      chain being stored as a (circular) linked list on disk, as it is in
      memory. However, when deserializing from multiple modules, the
      different chains could get mixed up, leading to broken declaration chains.
      
      The new solution keeps track of the first and last declarations in the
      chain for each module file. When we load a declaration, we search all
      of the module files for redeclarations of that declaration, then
      splice together all of the lists into a coherent whole (along with any
      redeclarations that were actually parsed). 
      
      As a drive-by fix, (de-)serialize the redeclaration chains of
      TypedefNameDecls, which had somehow gotten missed previously. Add a
      test of this serialization.
      
      This new scheme creates a redeclaration table that is fairly large in
      the PCH file (on the order of 400k for Cocoa.h's 12MB PCH file). The
      table is mmap'd in and searched via a binary search, but it's still
      quite large. A future tweak will eliminate entries for declarations
      that have no redeclarations anywhere, and should
      drastically reduce the size of this table.
      
      llvm-svn: 146841
      05f10357
  3. Dec 17, 2011
  4. Dec 16, 2011
Loading