Skip to content
  1. Jun 08, 2012
  2. Jun 01, 2012
  3. May 31, 2012
  4. May 26, 2012
    • Howard Hinnant's avatar
      The rules for emplace in map, multimap, unordered_map and unordered_multimap... · 8b805c91
      Howard Hinnant authored
      The rules for emplace in map, multimap, unordered_map and unordered_multimap changed a while back and I'm just now updating to these new rules.  In a nutshell, you've got to know you're emplacing to a pair and use one of pair's constructors.  I made one extension:  If you want to emplace the key and default construct the mapped_type, you can just emplace(key), as opposed to emplace(piecewise_construct, forward_as_tuple(key), forward_as_tuple()).
      
      llvm-svn: 157503
      8b805c91
  5. May 25, 2012
  6. May 20, 2012
  7. May 19, 2012
  8. May 18, 2012
  9. May 10, 2012
  10. May 07, 2012
  11. May 04, 2012
  12. May 03, 2012
  13. May 01, 2012
  14. Apr 19, 2012
  15. Apr 11, 2012
  16. Apr 05, 2012
    • David Chisnall's avatar
      Fix the remaining atomic tests, all of which were wrong for the case where a · 4fa71de0
      David Chisnall authored
      compare-and-exchange failed (it should update the expected value to the current
      value, and the tests were checking that it didn't...).
      
      Results of the atomics part of the test suite on FreeBSD with clang trunk and
      the atomic.c from compiler-rt (currently kludged into the test, not installed
      properly):
      
      ****************************************************
      Results for /root/libc++/test/atomics:
      using clang version 3.1 (trunk 153415)
      Target: x86_64-unknown-freebsd10.0
      Thread model: posix
      with -std=c++0x -stdlib=libc++ -pthread /tmp/atomic.o  
      ----------------------------------------------------
      sections without tests   : 0
      sections with failures   : 0
      sections without failures: 14
                             +   ----
      total number of sections : 14
      ----------------------------------------------------
      number of tests failed   : 0
      number of tests passed   : 52
                             +   ----
      total number of tests    : 52
      ****************************************************
      
      Yay!
      
      llvm-svn: 154095
      4fa71de0
    • David Chisnall's avatar
      Fix test cases that were trying to make atomic things that are not trivially copyable. · ca917f53
      David Chisnall authored
      Now all of the test cases compile.  Some of them even run!
      
      llvm-svn: 154094
      ca917f53
    • David Chisnall's avatar
      Fix use of __atomic_is_lock_free() intrinsic. · c5d5a988
      David Chisnall authored
      llvm-svn: 154093
      c5d5a988
  17. Apr 04, 2012
  18. Apr 03, 2012
  19. Apr 02, 2012
  20. Mar 21, 2012
  21. Mar 19, 2012
  22. Mar 16, 2012
  23. Mar 14, 2012
Loading