1. Apr 15, 2014
    • Justin Bogner's avatar
      OnDiskHashTable: Make the iterable version separate. · da4e650e
      Justin Bogner authored
      Currently the on disk hash table's key_iterator and data_iterator make
      the assumption that the table data starts exactly four bytes after the
      base of the table. This happens to be true for all of the tables we
      currently iterate over, but not for all of the OnDiskHashTables we
      currently use. For example, key_ and data_iterator would iterate over
      meaningless data if they were used on the hash tables in PTHLexer.
      
      We make the API safer by breaking this into two types. One doesn't
      have the iterators, and the other must be told where the payload
      starts.
      
      llvm-svn: 206189
      da4e650e
    • Justin Bogner's avatar
      OnDiskHashTable: clang-format and consistent naming · 8c1f0818
      Justin Bogner authored
      No functional change. Style cleanups in OnDiskChainedHashTable in
      preparation for some other changes here.
      
      llvm-svn: 206188
      8c1f0818
    • Daniel Sanders's avatar
      [mips] Fix fcopysign for MIPS-IV and add the test. · 863c35a3
      Daniel Sanders authored
      Summary:
      This was another incorrect use of hasMips64() vs isGP64bit().
      
      Depends on D3344
      
      Reviewers: matheusalmeida, vmedic
      
      Reviewed By: vmedic
      
      Differential Revision: http://reviews.llvm.org/D3347
      
      llvm-svn: 206187
      863c35a3
    • Aaron Ballman's avatar
      Properly diagnose standard C++ attributes which have optional argument lists... · 35f9421c
      Aaron Ballman authored
      Properly diagnose standard C++ attributes which have optional argument lists when the arguments are elided. eg)
      
      [[deprecated()]] // error
      [[deprecated]] // OK
      [[deprecated("")]] // OK
      [[gnu::deprecated()]] // OK
      
      llvm-svn: 206186
      35f9421c
    • Daniel Sanders's avatar
      [mips] MIPS-IV is broadly the same as MIPS64 so duplicate all -mcpu=mips64... · 1d3ae27f
      Daniel Sanders authored
      [mips] MIPS-IV is broadly the same as MIPS64 so duplicate all -mcpu=mips64 tests with -mcpu=mips4 as a starting point
      
      Summary:
      Two exceptions to this:
        test/CodeGen/Mips/octeon.ll
        test/CodeGen/Mips/octeon_popcnt.ll
      these test extensions to MIPS64
      
      One test is altered for MIPS-IV:
        test/CodeGen/Mips/mips64countleading.ll
          Tests dclo/dclz which were added in MIPS64. The MIPS-IV version tests
          that dclo/dclz are not emitted.
      
      Four tests fail and are not in this patch:
        test/CodeGen/Mips/abicalls.ll
        test/CodeGen/Mips/fcopysign-f32-f64.ll
        test/CodeGen/Mips/fcopysign.ll
        test/CodeGen/Mips/stack-alignment.ll
      
      Depends on D3343
      
      Reviewers: matheusalmeida, vmedic
      
      Reviewed By: vmedic
      
      Differential Revision: http://reviews.llvm.org/D3344
      
      llvm-svn: 206185
      1d3ae27f
  2. Apr 14, 2014