summaryrefslogtreecommitdiffstats
path: root/libcxx
Commit message (Collapse)AuthorAgeFilesLines
* http://llvm.org/bugs/show_bug.cgi?id=9326Howard Hinnant2011-02-252-8/+77
| | | | llvm-svn: 126504
* Chris Jefferson spotted a problem with messages_base::catalog while getting ↵Howard Hinnant2011-02-251-4/+13
| | | | | | libc++ to work on boost. The standard says this type must be an int. But this type is the key returned by the OS facility catopen. On OS X the type returned by catopen is void*, which doesn't fit into an int on 64 bit platforms. Chris suggested using ptrdiff_t instead of void*. It still isn't compliant with the standard, but chances are that this change will fix what is ailing boost. Chris also supplied the algorithm for distinguishing high-order pointers from error conditions. Thanks Chris. llvm-svn: 126462
* Jean-Daniel Dupas fixes install directionsHoward Hinnant2011-02-221-1/+2
| | | | llvm-svn: 126222
* Change install name to libc++.1.dylibHoward Hinnant2011-02-161-2/+2
| | | | llvm-svn: 125626
* Chris Jefferson noted many places where function calls needed to be ↵Howard Hinnant2011-02-1416-72/+72
| | | | | | qualified (thanks Chris). llvm-svn: 125510
* Update testit to default to clangHoward Hinnant2011-02-141-62/+5
| | | | llvm-svn: 125498
* fix stupid type-oHoward Hinnant2011-02-101-1/+1
| | | | llvm-svn: 125311
* Installed __has_feature(is_convertible_to) and __has_feature(is_base_of)Howard Hinnant2011-02-101-6/+6
| | | | llvm-svn: 125290
* Missing traits::to_int_type in fstreamHoward Hinnant2011-02-021-4/+4
| | | | llvm-svn: 124727
* Qualify calls to addressof with std::. Bug 9106Howard Hinnant2011-02-029-140/+140
| | | | llvm-svn: 124726
* Bug 9096 - list::iterator not default constructibleHoward Hinnant2011-01-2815-10/+267
| | | | llvm-svn: 124508
* minor corrections to test, and hook is_base_of up to clang intrinsicHoward Hinnant2011-01-283-5/+12
| | | | llvm-svn: 124502
* Eliminate extraneous {};Douglas Gregor2011-01-271-2/+0
| | | | llvm-svn: 124456
* Updated getting started directions.Howard Hinnant2011-01-271-7/+36
| | | | llvm-svn: 124452
* updated buildit to work with recent clang updatesHoward Hinnant2011-01-271-1/+3
| | | | llvm-svn: 124432
* clang found a missing return statement.Howard Hinnant2011-01-271-0/+1
| | | | llvm-svn: 124431
* Make forward_list splice_after and merge work for lvalue listsHoward Hinnant2011-01-271-22/+49
| | | | llvm-svn: 124430
* Reverted previous fix to is_convertible as it caused more problems than it ↵Howard Hinnant2011-01-271-0/+15
| | | | | | fixed. But this reverted fix will only matter for non-clang compilers. Installed __is_convertible_to for clang. llvm-svn: 124429
* Inline namespaces are always available in Clang. Rely on that withoutDouglas Gregor2011-01-261-10/+3
| | | | | | | | | | testing via __has_feature, since __has_feature for C++0x features no longer evaluates true in C++98/03 mode. Also, eliminate the redundant using directive. Inline namespaces make their members visible in the enclosing namespace automatically. llvm-svn: 124293
* Teach move_iterator that rvalue references cannot bind to non-functionDouglas Gregor2011-01-261-3/+10
| | | | | | | | lvalues, nor can one take the address of an xvalue, by adding appropriate static_cast's (in the first case) and a temporary (in the second case). llvm-svn: 124255
* Add always_inline to string move constructorsHoward Hinnant2011-01-261-0/+2
| | | | llvm-svn: 124252
* Remove an (incorrect) compiler workaround in the __mu function. TheDouglas Gregor2011-01-251-4/+1
| | | | | | | | workaround relied on rvalue references binding to non-function lvalues, while the original formulation (with std::forward) does the right thing. llvm-svn: 124241
* placeholder testHoward Hinnant2011-01-251-0/+19
| | | | llvm-svn: 124193
* tweak for readability (no functionality change)Howard Hinnant2011-01-251-1/+1
| | | | llvm-svn: 124192
* An rvalue reference cannot bind to an lvalue, so static_cast theDouglas Gregor2011-01-251-1/+2
| | | | | | | result of the __tuple_leaf::get() call to an rvalue reference when returning from tuple's get(). llvm-svn: 124190
* Eliminate the C++0x-only is_convertible testing function that acceptsDouglas Gregor2011-01-252-4/+15
| | | | | | | | | | | | | | | | | | | | | | | a cv-qualifier rvalue reference to the type, e.g., template <class _Tp> char __test(const volatile typename remove_reference<_Tp>::type&&); The use of this function signature rather than the more straightforward one used in C++98/03 mode, e.g., template <class _Tp> char __test(_Tp); is broken in two ways: 1) An rvalue reference cannot bind to lvalues, so is_convertible<X&, X&>::value would be false. This breaks two of the unique_ptr tests on Clang and GCC >= 4.5. Prior GCC's seem to have allowed rvalue references to bind to lvalues, allowing this bug to slip in. 2) By adding cv-qualifiers to the type we're converting to, we get some incorrect "true" results for, e.g., is_convertible<const X&, X&>::value. llvm-svn: 124166
* Chandler Carruth changed >> to > > in several places.Howard Hinnant2011-01-242-34/+34
| | | | llvm-svn: 124120
* Teach the Lit configuration to actually use the cxx0x setting whenChandler Carruth2011-01-231-2/+7
| | | | | | | constructing compile flags, and to link against the 'rt' library on Linux for clock_gettime and friends. llvm-svn: 124052
* Add attribute to inlined member.Howard Hinnant2011-01-131-0/+1
| | | | llvm-svn: 123392
* Fixing an ambiguity in variadics found by clang.Howard Hinnant2011-01-121-9/+9
| | | | llvm-svn: 123337
* fix guardHoward Hinnant2011-01-111-2/+2
| | | | llvm-svn: 123269
* Two minor fixes: 1. Put integral_constant conversion to integral in even ↵Howard Hinnant2011-01-082-2/+5
| | | | | | without constexpr support. 2. Add ios_base to <iosfwd>. The latter is being tracked by LWG 2026. llvm-svn: 123080
* Reverting an old optimization that conflicts with the new allocator model, ↵Howard Hinnant2011-01-044-91/+1
| | | | | | and causes some test casees to compile that shouldn't. llvm-svn: 122830
* Marshall Clow's fix for Bug 8421.Howard Hinnant2011-01-042-3/+6
| | | | llvm-svn: 122825
* Effort to reduce the number of exported symbolsHoward Hinnant2010-12-1710-78/+166
| | | | llvm-svn: 122057
* Reduced copying cost of tuple_cat from quadratic to linear.Howard Hinnant2010-12-121-33/+70
| | | | llvm-svn: 121655
* LWG 1385 [FCD] tuple_cat should be a single variadic signature ↵Howard Hinnant2010-12-113-66/+170
| | | | | | (http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#1385). This issue is only in Ready status, meaning it is not official, but probably will be this March in Madrid. It was tentatively accepted in Batavia with the previso that Bill and I didn't have any problems implementing it. This is my part of that agreement. llvm-svn: 121619
* The implementation of the new definition of result_of (N3123) resulted in ↵Howard Hinnant2010-12-111-7/+8
| | | | | | some test failures in [func.memfn] that I failed to previously notice. This corrects that mistake. llvm-svn: 121600
* Add CMake build and fix major Linux blockers.Michael J. Spencer2010-12-1015-24/+562
| | | | llvm-svn: 121510
* Test adjustment for recent changes in allocator_traitsHoward Hinnant2010-12-101-1/+1
| | | | llvm-svn: 121503
* This got accidentally removedHoward Hinnant2010-12-101-0/+20
| | | | llvm-svn: 121502
* N3158 Missing preconditions for default-constructed match_result objectsHoward Hinnant2010-12-083-3/+97
| | | | llvm-svn: 121282
* cleaning up...Howard Hinnant2010-12-0824-8/+54
| | | | llvm-svn: 121275
* After a long break to wait for the atomic spec to settle, this completes the ↵Howard Hinnant2010-12-0812-245/+394
| | | | | | library part of <atomic>. It currently won't even parse as it depends on the existence of the intrinsics specified at http://libcxx.llvm.org/atomic_design_a.html. Everything has been tested using fake intrinsics which have now been removed. As the intrinsics come online, the ATOMIC_* macros will need to be adjusted to reflect which operations are lock-free. These macros will probably need to be #ifdef'd for each supported platform. llvm-svn: 121267
* test: Rename string_op+= to string_op_plus_equal. Windows git doesn't like it.Michael J. Spencer2010-12-084-0/+0
| | | | llvm-svn: 121265
* atomics ...Howard Hinnant2010-12-071-7/+57
| | | | llvm-svn: 121204
* atomics ...Howard Hinnant2010-12-077-748/+480
| | | | llvm-svn: 121202
* Work on <atomic> continues. The file size is actually sane now...Howard Hinnant2010-12-0711-9273/+1349
| | | | llvm-svn: 121181
* Getting <atomic> warmed back up. We have a hopefully more stable spec now. ↵Howard Hinnant2010-12-0613-2273/+1675
| | | | | | And I believe the intrinsic spec at http://libcxx.llvm.org/atomic_design_a.html is still good. llvm-svn: 121064
* Add a couple more std-qualifers.Howard Hinnant2010-12-061-2/+2
| | | | llvm-svn: 121002
OpenPOWER on IntegriCloud