Eric Fiselier
|
da6e915c73
Optimize operator=(const basic_string&) for tail call.
|
5 سال پیش |
Louis Dionne
|
48413c895e
[libc++] Fix link error with _LIBCPP_HIDE_FROM_ABI_PER_TU and std::string
|
6 سال پیش |
Louis Dionne
|
c30e2d9f77
[NFC][libcxx] Remove trailing whitespace
|
6 سال پیش |
Marshall Clow
|
130106b216
Ensure that hash<basic_string> uses char_traits. Fixes PR#41876. Reviewed as https://reviews.llvm.org/D61954
|
6 سال پیش |
Marshall Clow
|
ddb1b0576a
Mark 'front()' and 'back()' as noexcept for array/deque/string/string_view. These are just rebranded 'operator[]', and should be noexcept like it is.
|
6 سال پیش |
Eric Fiselier
|
eb2e397396
Remove exception throwing debug mode handler support.
|
6 سال پیش |
Eric Fiselier
|
a9efe90666
Properly constrain basic_string(Iter, Iter, Alloc = A())
|
6 سال پیش |
Chandler Carruth
|
4abbf7dac3
Update the file headers across all of the LLVM projects in the monorepo
|
6 سال پیش |
Marshall Clow
|
f927635d87
Implement P1209 - Adopt Consistent Container Erasure from Library Fundamentals 2 for C++20. Reviewed as https://reviews.llvm.org/D55532
|
6 سال پیش |
Marshall Clow
|
96484477d1
Second part of P0482 - char8_t. Reviewed as https://reviews.llvm.org/D55308
|
6 سال پیش |
Marshall Clow
|
7593e799d2
Implement P0966 - string::reserve should not shrink
|
6 سال پیش |
Eric Fiselier
|
5f3377c0ac
Remove duplicate _LIBCPP_INLINE_VISIBILITY attributes.
|
6 سال پیش |
Eric Fiselier
|
f9782def0f
Add basic_string::__resize_default_init (from P1072)
|
6 سال پیش |
Louis Dionne
|
ce2232ff86
[libcxx] Make sure operator+ is declared with the right visibility attribute
|
6 سال پیش |
Louis Dionne
|
ee6e0ce13f
[libcxx] Mark stray symbols as hidden to try and fix the build
|
6 سال پیش |
Louis Dionne
|
507fe4022b
[libcxx] Make sure we can build with -fvisibility=hidden on Linux
|
6 سال پیش |
Marshall Clow
|
7e3ab17c11
Partial fix for PR38964. (<string> can't be built with gcc -std=c++03) Reviewed as https://reviews.llvm.org/D52240
|
6 سال پیش |
Marshall Clow
|
e3973fd962
Implement the infrastructure for feature-test macros. Very few actual feature test macros, though. Reviewed as: https://reviews.llvm.org/D51955
|
7 سال پیش |
Eric Fiselier
|
ffbb91bb64
Address "always inline function is not always inlinable" warning with GCC.
|
7 سال پیش |
Marshall Clow
|
64c10d00c3
Implement LWG 2946, 3075 and 3076. Reviewed as https://reviews.llvm.org/D48616
|
7 سال پیش |
Marshall Clow
|
ab343bb5ae
Mark __clear_and_shrink() as noexcept. This prevents the generation of a catch block and call to terminate in string's move assignment. Thanks to Howard for the 'catch'.
|
7 سال پیش |
Marshall Clow
|
256f187bc6
Implement LWG3034: P0767R1 breaks previously-standard-layout types
|
7 سال پیش |
Vedant Kumar
|
2b588cbf15
Low-hanging fruit optimization in string::__move_assign().
|
7 سال پیش |
Marshall Clow
|
5b1e87e52d
Implement deduction guide for basic_string as described in P0433
|
7 سال پیش |
Marshall Clow
|
088e6015b2
Fix PR#31454 - 'basic_string<T>::push_back() crashes if sizeof(T)>sizeof(long long)'. We were mishandling the small-string optimization calculations for very large 'characters'. This may be an ABI change (change the size of) strings of very large 'characters', but since they never worked, I'm not too concerned.
|
7 سال پیش |
Marshall Clow
|
46ea17ee62
Change a static_assert to check for is_trivial instead of is_pod, as is mandated by P0767.
|
7 سال پیش |
Marshall Clow
|
46b4ad5400
Implement P0457R2: 'String Prefix and Suffix Checking' for c++2a
|
7 سال پیش |
Eric Fiselier
|
10bebe2053
Fix std::string::data() symbol during library build.
|
7 سال پیش |
Marshall Clow
|
f1729d90b3
More of P0600 - '[[nodiscard]] in the Library' mark empty() as nodiscard in string, string_view, and the free function std::empty(). Removed tabs from <string_view>, which is why the diff is so big.
|
7 سال پیش |
Eric Fiselier
|
5ccf043379
Refactor _LIBCPP_<LITTLE|BIG>_ENDIAN
|
7 سال پیش |