- af01e70 tests/lit: Change test default parameters to assume local build. by Daniel Dunbar · 12 years ago
- 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
- 6886dd1 Loosen up the timing requirements on 4 more tests. by Howard Hinnant · 12 years ago
- 069bdd5 Andrew Morrow: There are two tests under test/utilities/memory that heap allocate two by Howard Hinnant · 12 years ago
- 63b2f4f Andrew Morrow: The attached patch updates the lit.config for libc++ unit tests so by Howard Hinnant · 12 years ago
- 6d39f9f Andrew Morrow: This patch fixes by Howard Hinnant · 12 years ago
- 5fec82d Implement [util.smartptr.shared.atomic]. This is the last unimplemented by Howard Hinnant · 12 years ago
- 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
- 499c61f noexcept and constexpr applied to <mutex>. by Howard Hinnant · 12 years ago
- f57bd56 noexcept and constexpr applied to <ios>. by Howard Hinnant · 12 years ago
- 410f2de constexpr applied to <complex>. by Howard Hinnant · 12 years ago
- fe4c9dd Relax the tolerances on some timing tests. by Howard Hinnant · 12 years ago
- d06a640 noexcept applied to <iterator>. by Howard Hinnant · 12 years ago
- 08bce17 constexpr applied to <array>. by Howard Hinnant · 12 years ago
- 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
- 473f838 Applied constexpr to <chrono>. by Howard Hinnant · 12 years ago
- 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
- d586248 Add test for self-referencing emplace test. by Howard Hinnant · 12 years ago
- 90d8723 Apply constexpr to <bitset>. by Howard Hinnant · 12 years ago
- 5394c1e Give tuple a constexpr default constructor. by Howard Hinnant · 12 years ago
- 71499ad Add noexcept test for offsetof macro per [support.types]/p4. by Howard Hinnant · 12 years ago
- 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
- caee2b0 Fix a few testsuite bugs involving trailing null (or lack thereof) in strstream. by Howard Hinnant · 12 years ago
- 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
- 9efdc0b libc++: Add some missing #includes to atomics tests. libc++ doesn't need these by Richard Smith · 12 years ago
- d3eca75 Fix the remaining atomic tests, all of which were wrong for the case where a by David Chisnall · 12 years ago
- 1ee87fa Fix test cases that were trying to make atomic things that are not trivially copyable. by David Chisnall · 12 years ago
- 8efd3da Update <random> with constexpr support. Patch contributed by Jonathan Sauer. by Howard Hinnant · 12 years ago
- 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
- 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
- 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
- b407d45 Don't refer to a function that doesn't exist in the quick_exit test. by David Chisnall · 12 years ago
- 558ae17 Fix moneypunct_byname algorithm to more accurately represent C locales in C++. by Jeffrey Yasskin · 12 years ago
- f2b2cc6 Make the failure reporting in testit a bit more useful. by David Chisnall · 12 years ago
- a231c37 update test for explicit bool operator. by Howard Hinnant · 12 years ago
- 896baa2 Silence some warnings in a test. by Howard Hinnant · 12 years ago
- 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
- b9344c2 Use Xcode relative compilers when possible by Dave Zarzycki · 12 years ago
- 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
- 6df1412 Relax pointer output test to accept glibc's output. Patch supplied by Jeffrey Yasskin. by Howard Hinnant · 12 years ago
- 01198b3 Exercise rvalue arguements to make_shared for C++11 mode. by Howard Hinnant · 12 years ago
- 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
- 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
- 8e50a9c Remove quotes from locale name identifier. Credit Edward Meewis. by Howard Hinnant · 13 years ago
- 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
- f836d53 unord test fixes by Edward Meewis by Howard Hinnant · 13 years ago
- f6d875f Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto Ganesh Barbati by Howard Hinnant · 13 years ago
- ce6884c Fix ratio arithmetic with zero by Howard Hinnant · 13 years ago
- b97de44 Fix <rdar://problem/10256836> getline of an empty string mistakenly causes failure by Howard Hinnant · 13 years ago
- c6fe8ca Fix <rdar://problem/10255403> match_results::begin() is off by one by Howard Hinnant · 13 years ago
- c0d0cba Windows porting work by Ruben Van Boxem by Howard Hinnant · 13 years ago
- 8452d21 Updated testit to run on Windows and fresh Windows results by Ruben Van Boxem by Howard Hinnant · 13 years ago
- 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
- 5983252 Fix test bugs found by David Chisnall by Howard Hinnant · 13 years ago
- 9e02b90 Fix locales used in re tests. by David Chisnall · 13 years ago
- 2fb1a9d Remove undefines in cstdio test. Fix these properly rather than bodging the tests. by David Chisnall · 13 years ago
- 8669889 More +.UTF-8 fixes. by David Chisnall · 13 years ago
- 709c3d2 Fix failure found by David Chisnall by Howard Hinnant · 13 years ago
- 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
- a824f53 Fully-qualify some more locales in the tests... by David Chisnall · 13 years ago
- 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
- 6b8ac3a More locale cleanups. Fully specify locales in iostream tests. by David Chisnall · 13 years ago
- 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
- 0442b12 The vector test suite now passes for no-debug, debug-lite and debug-regular by Howard Hinnant · 13 years ago
- 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
- e3e3291 Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574 by Howard Hinnant · 13 years ago
- bf6666f Correct test. by Howard Hinnant · 13 years ago
- 541cb30 Adjust two tests to account for a nasty change in copying behavior by Sean Hunt · 13 years ago
- 13aaf42 Make all fstream tests use tmpnam if creating files, rather than by Sean Hunt · 13 years ago
- e6440c6 Do a litmus test of using tmpnam to generate safe temporary file names by Sean Hunt · 13 years ago
- 737a351 Given that __underlying_type is now available in clang, implement by Sean Hunt · 13 years ago
- 2d81f3d Give A an explicitly non-throwing destructor so that B's destructor is by Sean Hunt · 13 years ago
- a78264f Fix wchar tests by not assuming that tm is complete and by using the by Sean Hunt · 13 years ago
- ac6de54 Fixing up some ABI issues by Howard Hinnant · 13 years ago
- 12c3d37 <inttypes.h> does not necessarily include <stdint.h>. Accordingly, do by Sean Hunt · 13 years ago
- 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
- a2a08b4 test for pair piecewise construction by Howard Hinnant · 13 years ago
- 58cd823 noexcept for <stack>. This completes noexcept for Chapter 23 [containers]. by Howard Hinnant · 13 years ago
- 6a09441 noexcept for <queue>. by Howard Hinnant · 13 years ago
- 04dae1d noexcept for <unordered_set>. by Howard Hinnant · 13 years ago
- 5f2f14c noexcept for <unordered_map>. by Howard Hinnant · 13 years ago
- b2e2a8f noexcept for <set>. Plus a few fixes to noexcept for <map>. by Howard Hinnant · 13 years ago
- 7686add noexcept for <map>. by Howard Hinnant · 13 years ago
- d1d27a4 noexcept for <vector>. This also includes installing move_if_noexcept() into vector. by Howard Hinnant · 13 years ago
- 53f7d4c Bring noexcept for <string> inline with other containers. by Howard Hinnant · 13 years ago
- c560727 noexcept for <list>. by Howard Hinnant · 13 years ago
- b965fed noexcept for <forward_list>. by Howard Hinnant · 13 years ago
- 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
- 93f2764 Add noexcept tests for deque. by Howard Hinnant · 13 years ago
- 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
- 0148a83 Simplied bind using __invoke. In the process, found and fixed a couple of bugs. C++11 only. by Howard Hinnant · 13 years ago
- 3dd965b This commit was accidental. Reverting. by Howard Hinnant · 13 years ago
- 932209b A bunch of future tests got invalidated with the latest updates to thread. Fixed the tests. by Howard Hinnant · 13 years ago
- 6cbf9f9 Fix and beef up test bug for move_if_noexcept by Howard Hinnant · 13 years ago
- 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
- 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
- 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
- 37c53b6 Redesign of result_of to handle reference-qualified member functions by Howard Hinnant · 13 years ago
- f6cc833 Warning suppression in test. by Howard Hinnant · 13 years ago
- 783b810 Warning suppression in test. by Howard Hinnant · 13 years ago