Chandler Carruth
|
7c3769df62
Update more file headers across all of the LLVM projects in the monorepo
|
6 lat temu |
Marshall Clow
|
9e6b540dad
Make next/prev/advance/distance operations on iterators be constexpr. I missed this when I implemented the rest of P0031R0
|
8 lat temu |
Eric Fiselier
|
8eb066a106
Replace _LIBCPP_HAS_NO_DELETED_FUNCTIONS with _LIBCPP_CXX03_LANG
|
8 lat temu |
Eric Fiselier
|
917af0a073
Implement C++17 std::sample.
|
9 lat temu |
Eric Fiselier
|
113315b9a4
Implement LWG 2711. Constrain path members.
|
9 lat temu |
Eric Fiselier
|
84acb1ec3f
Remove trailing whitespace in test suite. Approved by Marshall Clow.
|
9 lat temu |
Eric Fiselier
|
dcb35ad8ae
Add missing include to test_iterators.h
|
9 lat temu |
Marshall Clow
|
b8f31a1c14
Got the test backwards in r258279. Fixed that and de-tabbed
|
9 lat temu |
Marshall Clow
|
85d4c2a93f
Fix up the tests I added for string exceptions to be skipped when exceptions are disabled
|
9 lat temu |
Marshall Clow
|
df9db31c27
Fix PR#25973 : 'basic_string::assign(InputIt, InputIt) doesn't provide the strong exception safety guarantee'. This turned out to be a pervasive problem in <string>, which required a fair amount of rework. Add in an optimization for when iterators provide noexcept increment/comparison/assignment/dereference (which covers many of the iterators in libc++). Reviewed as http://reviews.llvm.org/D15862
|
9 lat temu |
Marshall Clow
|
e52b63237a
Since Eric poisoned the comma operator on all our test iterators, we no longer need 'comma_iterator'. Remove it from the test suite.
|
10 lat temu |
Eric Fiselier
|
62a0e01343
Fix use of operator comma in is_permutation and delete comma operator for test iterators.
|
10 lat temu |
Eric Fiselier
|
b991975439
[libcxx] Fix use of operator comma where the types can be user defined
|
10 lat temu |
Marshall Clow
|
01c6bbd947
Add include of <cassert> for the operator comma
|
11 lat temu |
Marshall Clow
|
270f8e01e8
Create a 'comma_iterator' class that overloads operator, and asserts when it's called. Add tests to mismatch to make sure it can't be blindsided by such an evil iterator. More tests for other algorithms forthcoming. Thanks to STL for pointing this out at CppCon and Yakov Galka for opening LWG issue #2133
|
11 lat temu |
Marshall Clow
|
98760c18f8
Add license headers to a bunch of libc++ files that were missing them. No functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch.
|
11 lat temu |
Howard Hinnant
|
171771a9f5
War on tabs.
|
12 lat temu |
Marshall Clow
|
304c31b355
Made test output iterators have value_type of 'void'; matches ones in library
|
12 lat temu |
Marshall Clow
|
83e2c4d877
Move common header files into a 'support' directory; make 'testit' include -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files
|
12 lat temu |