You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/include
Hans Wennborg dffe9e0f1d Merging r340609:
------------------------------------------------------------------------
r340609 | ldionne | 2018-08-24 16:10:28 +0200 (Fri, 24 Aug 2018) | 13 lines

[libc++] Fix handling of negated character classes in regex

Summary:
This commit fixes a regression introduced in r316095, where we don't match
inverted character classes when there's no negated characrers in the []'s.

rdar://problem/43060054

Reviewers: mclow.lists, timshen, EricWF

Subscribers: christof, dexonsmith, cfe-commits

Differential Revision: https://reviews.llvm.org/D50534
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/branches/release_70@341529 91177308-0d34-0410-b5e6-96231b3b80d8
7 years ago
..
experimental Re-apply "[libcxx] implement <simd> ABI for Clang/GCC vector extension, constructors, copy_from and copy_to." 7 years ago
ext Remove usages of _LIBCPP_MSVC which is never defined 9 years ago
support [libc++] Exclude posix_l/strtonum fallback inclusion for newlib > 2.4 7 years ago
CMakeLists.txt [libc++][C++17] Elementary string conversions for integral types 7 years ago
__bit_reference [Libc++] Use #pragma push_macro/pop_macro to better handle min/max on Windows 9 years ago
__bsd_locale_defaults.h Add system header pragma to BSD locale fallback headers. 8 years ago
__bsd_locale_fallbacks.h [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
__config Merging r339816: 7 years ago
__config_site.in Merging r339874: 7 years ago
__debug [libc++] Introduce _LIBCPP_EXTERN_VIS to fix __libcpp_debug_function link errors 9 years ago
__errc [libc++] Lift std::errc into a separated header 7 years ago
__functional_03 [libcxx] func.wrap.func.con: Unset function before destroying anything 8 years ago
__functional_base [libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY 7 years ago
__functional_base_03
__hash_table First half of C++17's splicing maps and sets 7 years ago
__libcpp_version Update version to 7.0.0svn: cmake, include files and docs 8 years ago
__locale [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
__mutex_base [libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY 7 years ago
__node_handle Merging r340544: 7 years ago
__nullptr [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
__split_buffer [Libc++] Use #pragma push_macro/pop_macro to better handle min/max on Windows 9 years ago
__sso_allocator Fix PR22634 - std::allocator doesn't respect over-aligned types. 8 years ago
__std_stream [Libc++] Use #pragma push_macro/pop_macro to better handle min/max on Windows 9 years ago
__string Fix misleading indentation; replace a couple of NULLs with nullptr. Resolves https://reviews.llvm.org/D42945 ; thanks to Bruce Mitchener for the patch. 8 years ago
__threading_support libcxx: Unbreak external thread library configuration. 8 years ago
__tree First half of C++17's splicing maps and sets 7 years ago
__tuple Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in tuple and utility 9 years ago
__undef_macros [Libc++] Use #pragma push_macro/pop_macro to better handle min/max on Windows 9 years ago
algorithm Mark __equal_to 's operations as constexpr. 7 years ago
any [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
array Implement deduction guides for <array>; Reviewed as https://reviews.llvm.org/D46964 8 years ago
atomic Mark __c11_atomic_load as const 8 years ago
bitset Fix problems with r'890 when building on machines where sizeof(size_t) != sizeof(unsigned long long) and C++03 8 years ago
cassert
ccomplex
cctype
cerrno
cfenv
cfloat Test for the presence of a bunch of new macros for c++17. These macros come from C11. Part of P0063 7 years ago
charconv [libc++][C++17] Elementary string conversions for integral types 7 years ago
chrono Update the synopsis for <chrono> for C++20. No functional change. 7 years ago
cinttypes
ciso646
climits
clocale
cmath [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
codecvt [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
compare [libc++] Declare <compare> operators with the proper visibility attribute 7 years ago
complex [libcxx] Improve accuracy of complex asinh and acosh 8 years ago
complex.h
condition_variable [libc++] Make _LIBCPP_TYPE_VIS export members 9 years ago
csetjmp
csignal
cstdarg
cstdbool
cstddef Implement LWG2950: std::byte operations are misspecified 8 years ago
cstdint
cstdio [libc++] Drop support for CRTs older than VS 2015 9 years ago
cstdlib Merging r339816: 7 years ago
cstring
ctgmath
ctime Merging r339816: 7 years ago
ctype.h [libc++] Refactor Windows support headers. 9 years ago
cwchar [libc++] Remove unnecessary MSVCRT exclusions 9 years ago
cwctype
deque Implement deduction guides for <deque> 8 years ago
errno.h
exception [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
filesystem Implement <filesystem> 7 years ago
float.h Test for the presence of a bunch of new macros for c++17. These macros come from C11. Part of P0063 7 years ago
forward_list Fix PR37694 - std::vector doesn't correctly move construct allocators. 8 years ago
fstream Implement <filesystem> 7 years ago
functional [libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY 7 years ago
future Fix use of incorrect _LIBCXX macro (should be _LIBCPP). 7 years ago
initializer_list [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
inttypes.h
iomanip Move 'quoted' for string_view from <string_view> to <iomanip> (where the other versions of 'quoted' live. No functional change. 9 years ago
ios [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
iosfwd [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 9 years ago
iostream
istream [libc++] Factor duplicate code into function templates 7 years ago
iterator Mark one more __wrap_iter operation as constexpr. 7 years ago
limits Fix more unreserved names 9 years ago
limits.h
list Fix PR37694 - std::vector doesn't correctly move construct allocators. 8 years ago
locale [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
locale.h [libcxx] Implement locale.h to fix modules build 9 years ago
map First half of C++17's splicing maps and sets 7 years ago
math.h [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
memory Merging r340823: 7 years ago
module.modulemap [libc++][C++17] Elementary string conversions for integral types 7 years ago
mutex Implement most of P0607: Inline Variables for the Standard Library. This involved marking a lot of variables as inline (but only for C++17 and later). 8 years ago
new Merging r339431: 7 years ago
numeric Fix incorrect handling of move-only types in transform_reduce iter iter iter init, and add test. 8 years ago
optional Add deduction guides for optional 8 years ago
ostream [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
queue Deduction guides for the container adaptors - queue, stack, and priority_queue 8 years ago
random Change an internal table of constants for the poisson distribution from 8 years ago
ratio Implement most of P0607: Inline Variables for the Standard Library. This involved marking a lot of variables as inline (but only for C++17 and later). 8 years ago
regex Merging r340609: 7 years ago
scoped_allocator More of P0600; marking allocation routines as [[nodiscard]] 8 years ago
set First half of C++17's splicing maps and sets 7 years ago
setjmp.h
shared_mutex [libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY 7 years ago
span fix nesting of namespace and standard-version check. Also include <__config> 7 years ago
sstream libcxx: Fix for basic_stringbuf::seekoff() after r320604. 8 years ago
stack Deduction guides for the container adaptors - queue, stack, and priority_queue 8 years ago
stdbool.h
stddef.h Check for musl-libc's max_align_t in addition to other variants. 9 years ago
stdexcept [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
stdint.h
stdio.h libcxx: Rename vasprintf function to __libcpp_vasprintf. 8 years ago
stdlib.h [libc++] Refactor Windows support headers. 9 years ago
streambuf [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
string Address "always inline function is not always inlinable" warning with GCC. 7 years ago
string.h
string_view Implement LWG3034: P0767R1 breaks previously-standard-layout types 8 years ago
strstream Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library 9 years ago
system_error [libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY 7 years ago
tgmath.h Implement LWG 2835 - fix <tgmath.h> 8 years ago
thread Implement LWG 3039 and 3041 - 'Treating Unnecessary decay'. 8 years ago
tuple Implement P0777: Treating unnecessay decay 8 years ago
type_traits type_traits: aligned_union is NOT the same as __uncvref [NFC] 7 years ago
typeindex [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 9 years ago
typeinfo [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
unordered_map First half of C++17's splicing maps and sets 7 years ago
unordered_set First half of C++17's splicing maps and sets 7 years ago
utility [libc++] Remove _LIBCPP_BUILDING_XXX macros, which are redundant since _LIBCPP_BUILDING_LIBRARY 7 years ago
valarray Fix PR22634 - std::allocator doesn't respect over-aligned types. 8 years ago
variant Partially Revert "Workaround GCC bug PR78489 - SFINAE order is not respected." 8 years ago
vector [libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY 7 years ago
version Implement P0754R2: The <version> header. 8 years ago
wchar.h [libc++] Account for Microsoft CRT const overloads 8 years ago
wctype.h