1. 2d3f4ee Add overflow check to tanh(complex) and reduce to finite answer. Fixes http://llvm.org/bugs/show_bug.cgi?id=13874 by Howard Hinnant · 12 years ago
  2. 6886dd1 Loosen up the timing requirements on 4 more tests. by Howard Hinnant · 12 years ago
  3. 069bdd5 Andrew Morrow: There are two tests under test/utilities/memory that heap allocate two by Howard Hinnant · 12 years ago
  4. 63b2f4f Andrew Morrow: The attached patch updates the lit.config for libc++ unit tests so by Howard Hinnant · 12 years ago
  5. 6d39f9f Andrew Morrow: This patch fixes by Howard Hinnant · 12 years ago
  6. 5fec82d Implement [util.smartptr.shared.atomic]. This is the last unimplemented by Howard Hinnant · 12 years ago
  7. ca8eb83 <algorithm> no longer needs to include <cstdlib>, but can get away with just <cstddef>. This was brought to my attention by Salvatore Benedetto in his port to a bare-metal coretex-m3. This exposed two test bugs where an explicit #include <cstdlib> was needed. by Howard Hinnant · 12 years ago
  8. 499c61f noexcept and constexpr applied to <mutex>. by Howard Hinnant · 12 years ago
  9. f57bd56 noexcept and constexpr applied to <ios>. by Howard Hinnant · 12 years ago
  10. 410f2de constexpr applied to <complex>. by Howard Hinnant · 12 years ago
  11. fe4c9dd Relax the tolerances on some timing tests. by Howard Hinnant · 12 years ago
  12. d06a640 noexcept applied to <iterator>. by Howard Hinnant · 12 years ago
  13. 08bce17 constexpr applied to <array>. by Howard Hinnant · 12 years ago
  14. c425307 Relax the complete-type checks that are happening under __invokable<Fp, Args...> to only check Fp, and not Args... . This should be sufficient to give the desired high quality diagnostics under both bind and function. And this allows a test reported by Rich E on cfe-dev to pass. Tracked by <rdar://problem/11880602>. by Howard Hinnant · 12 years ago
  15. 473f838 Applied constexpr to <chrono>. by Howard Hinnant · 12 years ago
  16. 1ca2367 Fixed a bug in wstring_convert concerning zero-length inputs. Thanks to Jonathan Coxhead for reporting this bug. by Howard Hinnant · 12 years ago
  17. d586248 Add test for self-referencing emplace test. by Howard Hinnant · 12 years ago
  18. 90d8723 Apply constexpr to <bitset>. by Howard Hinnant · 12 years ago
  19. 5394c1e Give tuple a constexpr default constructor. by Howard Hinnant · 12 years ago
  20. 71499ad Add noexcept test for offsetof macro per [support.types]/p4. by Howard Hinnant · 12 years ago
  21. 7a44515 This commit establishes a new bucket_count policy in the unordered containers: The policy now allows a power-of-2 number of buckets to be requested (and that request honored) by the client. And if the number of buckets is set to a power of 2, then the constraint of the hash to the number of buckets uses & instead of %. If the client does not specify a number of buckets, then the policy remains unchanged: a prime number of buckets is selected. The growth policy is that the number of buckets is roughly doubled when needed. While growing, either the prime, or the power-of-2 strategy will be preserved. There is a small run time cost for putting in this switch. For very cheap hash functions, e.g. identity for int, the cost can be as high as 18%. However with more typical use cases, e.g. strings, the cost is in the noise level. I've measured cases with very cheap hash functions (int) that using a power-of-2 number of buckets can make look up about twice as fast. However I've also noted that a power-of-2 number of buckets is more susceptible to accidental catastrophic collisions. Though I've also noted that accidental catastrophic collisions are also possible when using a prime number of buckets (but seems far less likely). In short, this patch adds an extra tuning knob for those clients trying to get the last bit of performance squeezed out of their hash containers. Casual users of the hash containers will not notice the introduction of this tuning knob. Those clients who swear by power-of-2 hash containers can now opt-in to that strategy. Clients who prefer a prime number of buckets can continue as they have. by Howard Hinnant · 12 years ago
  22. caee2b0 Fix a few testsuite bugs involving trailing null (or lack thereof) in strstream. by Howard Hinnant · 12 years ago
  23. 635ce1d 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()). by Howard Hinnant · 12 years ago
  24. 9efdc0b libc++: Add some missing #includes to atomics tests. libc++ doesn't need these by Richard Smith · 12 years ago
  25. d3eca75 Fix the remaining atomic tests, all of which were wrong for the case where a by David Chisnall · 12 years ago
  26. 1ee87fa Fix test cases that were trying to make atomic things that are not trivially copyable. by David Chisnall · 12 years ago
  27. 8efd3da Update <random> with constexpr support. Patch contributed by Jonathan Sauer. by Howard Hinnant · 12 years ago
  28. 2cf89a7 Fix test for default constructor of discrete_distribution. This partially addresses http://llvm.org/bugs/show_bug.cgi?id=12436. by Howard Hinnant · 12 years ago
  29. dc1345f I believe tuple is still under development in the standard. Daniel Krugler is/will be making convincing arguments that a modified form of LWG 2051 (currently NAD Future) is easily acheivable and desirable. He has demonstrated that a tuple<T...> where all of the T are implicitly convertible from U... should have a tuple constructor that is also implicit, instead of explicit. This would support the use cases in LWG 2051 while not undermining T... with explicit conversions from U.... This check-in is an experimental implementation of Daniel's work. I believe this work to be mature enough to warrant inclusion into libc++. If anyone sees real-world problems that this check in causes, please let me know and I will revert it, and provide the feedback to the LWG. by Howard Hinnant · 12 years ago
  30. 87c61a6 Allow libc++ to be built with CMake from within the LLVM tree. The libc++ part is just some renaming as the variable was already in use, conflicting with something else in the LLVM tree. Contributed by Ruben Van Boxem. by Howard Hinnant · 12 years ago
  31. b407d45 Don't refer to a function that doesn't exist in the quick_exit test. by David Chisnall · 12 years ago
  32. 558ae17 Fix moneypunct_byname algorithm to more accurately represent C locales in C++. by Jeffrey Yasskin · 12 years ago
  33. f2b2cc6 Make the failure reporting in testit a bit more useful. by David Chisnall · 12 years ago
  34. a231c37 update test for explicit bool operator. by Howard Hinnant · 12 years ago
  35. 896baa2 Silence some warnings in a test. by Howard Hinnant · 12 years ago
  36. 4300839 Hook up to the new clang __is_trivially_constructible and __is_trivially_assignable traits. Fixes r10925427 and http://llvm.org/bugs/show_bug.cgi?id=12038. by Howard Hinnant · 12 years ago
  37. b9344c2 Use Xcode relative compilers when possible by Dave Zarzycki · 12 years ago
  38. 3fadda3 Modernize relational operators for shared_ptr and unique_ptr. This includes adding support for nullptr, and using less<T*>. Fixes http://llvm.org/bugs/show_bug.cgi?id=12056. by Howard Hinnant · 12 years ago
  39. 6df1412 Relax pointer output test to accept glibc's output. Patch supplied by Jeffrey Yasskin. by Howard Hinnant · 12 years ago
  40. 01198b3 Exercise rvalue arguements to make_shared for C++11 mode. by Howard Hinnant · 12 years ago
  41. 2848444 tuple was accidentally lacking a valid copy assignment operator. It went undetected because I had failed to test assigning from a const lvalue. This fixes http://llvm.org/bugs/show_bug.cgi?id=11921 by Howard Hinnant · 12 years ago
  42. b04ad41 Do not parse sign if a sign is not the next legal character when parsing floating point from an input stream. Fixes http://llvm.org/bugs/show_bug.cgi?id=11871 by Howard Hinnant · 12 years ago
  43. 8e50a9c Remove quotes from locale name identifier. Credit Edward Meewis. by Howard Hinnant · 13 years ago
  44. 40c13d3 Starting using murmur2 when combining multiple size_t's into a single hash, and also for basic_string. Also made hash<thread::id> ever so slighly more portable. I had to tweak one test which is questionable (definitely not portable) anyway. by Howard Hinnant · 13 years ago
  45. f836d53 unord test fixes by Edward Meewis by Howard Hinnant · 13 years ago
  46. f6d875f Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati by Howard Hinnant · 13 years ago
  47. ce6884c Fix ratio arithmetic with zero by Howard Hinnant · 13 years ago
  48. b97de44 Fix <rdar://problem/10256836> getline of an empty string mistakenly causes failure by Howard Hinnant · 13 years ago
  49. c6fe8ca Fix <rdar://problem/10255403> match_results::begin() is off by one by Howard Hinnant · 13 years ago
  50. c0d0cba Windows porting work by Ruben Van Boxem by Howard Hinnant · 13 years ago
  51. 8452d21 Updated testit to run on Windows and fresh Windows results by Ruben Van Boxem by Howard Hinnant · 13 years ago
  52. 1c3ec6d Another installment on debug mode. This addresses list. However this should be considered a temporary state. The API of the debug database and how vector and list use it, is unsatisfactory at the moment. It is both inefficient and overly verbose. I wanted to get this functionality checked in though. In the next day or so I'll refactor what is there in an attempt to streamline things. by Howard Hinnant · 13 years ago
  53. 5983252 Fix test bugs found by David Chisnall by Howard Hinnant · 13 years ago
  54. 9e02b90 Fix locales used in re tests. by David Chisnall · 13 years ago
  55. 2fb1a9d Remove undefines in cstdio test. Fix these properly rather than bodging the tests. by David Chisnall · 13 years ago
  56. 8669889 More +.UTF-8 fixes. by David Chisnall · 13 years ago
  57. 709c3d2 Fix failure found by David Chisnall by Howard Hinnant · 13 years ago
  58. db2e99f More fixes to the tests. Add UTF-8 encoding to all locales that don't specify one. Undefine some stdio.h macros that break the tests. by David Chisnall · 13 years ago
  59. a824f53 Fully-qualify some more locales in the tests... by David Chisnall · 13 years ago
  60. eb2c855 Don't check STREAMS error numbers on systems that don't implement the obsolete (as described in POSIX2008) XSI STREAMS extension. by David Chisnall · 13 years ago
  61. 6b8ac3a More locale cleanups. Fully specify locales in iostream tests. by David Chisnall · 13 years ago
  62. e2f2a15 Localisation test fixes to make the tests pass on FreeBSD, which does not provide shortened forms of the various locales (e.g. en_US, rather than en_US.UTF-8 / en_US.ISO{whatever}). by David Chisnall · 13 years ago
  63. 0442b12 The vector test suite now passes for no-debug, debug-lite and debug-regular by Howard Hinnant · 13 years ago
  64. 92a836c Reimplemented much of <istream> such that single character extractions do not check to see if this is the last character in the stream and thus never set eofbit. This fixes http://llvm.org/bugs/show_bug.cgi?id=10817 . This fix requires a recompiled libc++.dylib to be fully implemented. The recompiled libc++.dylib is ABI compatible with that shipped on Lion. by Howard Hinnant · 13 years ago
  65. e3e3291 Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574 by Howard Hinnant · 13 years ago
  66. bf6666f Correct test. by Howard Hinnant · 13 years ago
  67. 541cb30 Adjust two tests to account for a nasty change in copying behavior by Sean Hunt · 13 years ago
  68. 13aaf42 Make all fstream tests use tmpnam if creating files, rather than by Sean Hunt · 13 years ago
  69. e6440c6 Do a litmus test of using tmpnam to generate safe temporary file names by Sean Hunt · 13 years ago
  70. 737a351 Given that __underlying_type is now available in clang, implement by Sean Hunt · 13 years ago
  71. 2d81f3d Give A an explicitly non-throwing destructor so that B's destructor is by Sean Hunt · 13 years ago
  72. a78264f Fix wchar tests by not assuming that tm is complete and by using the by Sean Hunt · 13 years ago
  73. ac6de54 Fixing up some ABI issues by Howard Hinnant · 13 years ago
  74. 12c3d37 <inttypes.h> does not necessarily include <stdint.h>. Accordingly, do by Sean Hunt · 13 years ago
  75. 61aa601 Correct for new rules regarding implicitly deleted special members. http://llvm.org/bugs/show_bug.cgi?id=10191 by Howard Hinnant · 13 years ago
  76. a2a08b4 test for pair piecewise construction by Howard Hinnant · 13 years ago
  77. 58cd823 noexcept for <stack>. This completes noexcept for Chapter 23 [containers]. by Howard Hinnant · 13 years ago
  78. 6a09441 noexcept for <queue>. by Howard Hinnant · 13 years ago
  79. 04dae1d noexcept for <unordered_set>. by Howard Hinnant · 13 years ago
  80. 5f2f14c noexcept for <unordered_map>. by Howard Hinnant · 13 years ago
  81. b2e2a8f noexcept for <set>. Plus a few fixes to noexcept for <map>. by Howard Hinnant · 13 years ago
  82. 7686add noexcept for <map>. by Howard Hinnant · 13 years ago
  83. d1d27a4 noexcept for <vector>. This also includes installing move_if_noexcept() into vector. by Howard Hinnant · 13 years ago
  84. 53f7d4c Bring noexcept for <string> inline with other containers. by Howard Hinnant · 13 years ago
  85. c560727 noexcept for <list>. by Howard Hinnant · 13 years ago
  86. b965fed noexcept for <forward_list>. by Howard Hinnant · 13 years ago
  87. 009b2c4 After sleeping on it I've decided that all special members that can be noexcept, should be declared so. The client has the traits to detect and branch on this information, and it is often an important optimization. Give deque() a noexcept. Add test for deque default constructor and deque destructor. by Howard Hinnant · 13 years ago
  88. 93f2764 Add noexcept tests for deque. by Howard Hinnant · 13 years ago
  89. 1694d23 noexcept for <memory>. I've added a few extension noexcept to: allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default| by Howard Hinnant · 13 years ago
  90. 0148a83 Simplied bind using __invoke. In the process, found and fixed a couple of bugs. C++11 only. by Howard Hinnant · 13 years ago
  91. 3dd965b This commit was accidental. Reverting. by Howard Hinnant · 13 years ago
  92. 932209b A bunch of future tests got invalidated with the latest updates to thread. Fixed the tests. by Howard Hinnant · 13 years ago
  93. 6cbf9f9 Fix and beef up test bug for move_if_noexcept by Howard Hinnant · 13 years ago
  94. 97ecd64 Clean up a bunch of warnings in the tests, 3 of which actually turned out to be test bugs. by Howard Hinnant · 13 years ago
  95. ad935d5 Brought call_once variadic call up to current spec, which allows move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. by Howard Hinnant · 13 years ago
  96. 656bdc3 Brought thread variadic constructor up to current spec, which allows move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. by Howard Hinnant · 13 years ago
  97. 37c53b6 Redesign of result_of to handle reference-qualified member functions by Howard Hinnant · 13 years ago
  98. f6cc833 Warning suppression in test. by Howard Hinnant · 13 years ago
  99. 783b810 Warning suppression in test. by Howard Hinnant · 13 years ago
  100. a5a0ba8 Warning suppression in test. by Howard Hinnant · 13 years ago