hanchenye-llvm-project/libcxx/include
Eric Fiselier 997a391466 Get <experimental/coroutine> working in C++03.
Clang supports coroutines in all dialects; Therefore libc++ should too,
otherwise the Clang extension is unusable.

I'm not convinced extending support to C++03 is a feasible long term
plan, since as the library grows to offer things like generators it
will be come increasingly difficult to limit the implementation to C++03.

However for the time being supporting C++03 isn't a big deal.

llvm-svn: 303963
2017-05-26 03:02:54 +00:00
..
experimental Get <experimental/coroutine> working in C++03. 2017-05-26 03:02:54 +00:00
ext Remove usages of _LIBCPP_MSVC which is never defined 2017-05-10 21:40:58 +00:00
support Don't interfere with the __builtin_foo namespace under MSVC 2017-05-10 21:30:04 +00:00
CMakeLists.txt Simplify CMake target for the __generated_config header 2017-01-03 11:18:17 +00:00
__bit_reference Add _LIBCPP_COMPILER_[CLANG|GCC|MSVC|IBM] macros. 2017-01-06 21:42:58 +00:00
__bsd_locale_defaults.h
__bsd_locale_fallbacks.h Refactor <locale> RAII guards to aid upcoming Windows locale changes. 2017-05-08 22:02:43 +00:00
__config Guard <experimental/coroutine> against older Clang versions. 2017-05-26 01:52:59 +00:00
__config_site.in [libc++] Cleanup and document <__threading_support> 2017-01-06 20:05:40 +00:00
__debug [libc++] Introduce _LIBCPP_EXTERN_VIS to fix __libcpp_debug_function link errors 2017-01-16 21:01:00 +00:00
__functional_03 [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
__functional_base Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in the functional library 2017-04-19 01:28:47 +00:00
__functional_base_03
__hash_table Cleanup remaining _LIBCPP_HAS_NO_<c++11-feature> usages in container headers 2017-04-19 01:23:04 +00:00
__libcpp_version Update version to 5.0 2017-01-13 18:29:56 +00:00
__locale Refactor <locale> RAII guards to aid upcoming Windows locale changes. 2017-05-08 22:02:43 +00:00
__mutex_base [libc++] Refactor Windows support headers. 2017-05-10 20:57:45 +00:00
__nullptr [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
__refstring [libc++] Fix modules build - Rework __refstring definition 2016-10-25 19:33:14 +00:00
__split_buffer Cleanup remaining _LIBCPP_HAS_NO_<c++11-feature> usages in container headers 2017-04-19 01:23:04 +00:00
__sso_allocator [libc++] Tolerate presence of __deallocate macro 2017-01-07 03:01:24 +00:00
__std_stream clean up some qualifier casting 2016-12-31 18:13:34 +00:00
__string Use the new __has_feature(cxx_constexpr_string_builtins) for detection of the C-string intrinsics for constexpr support in std::char_traits. Thanks to Richard for the intrisic support. 2017-01-26 06:58:29 +00:00
__threading_support libcxx: fix bootstrapping for mingw-w64 2017-05-25 22:37:15 +00:00
__tree Cleanup remaining _LIBCPP_HAS_NO_<c++11-feature> usages in container headers 2017-04-19 01:23:04 +00:00
__tuple Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in tuple and utility 2017-04-19 01:23:39 +00:00
__undef_min_max Remove usages of _LIBCPP_MSVC which is never defined 2017-05-10 21:40:58 +00:00
algorithm Last commit included some extra constexpr; remove them 2017-05-25 14:20:26 +00:00
any Implement part of LWG#2857 - any/optional. Still to do - variant. Reviewed as https://reviews.llvm.org/D31956 2017-04-12 22:51:27 +00:00
array Replace _LIBCPP_HAS_NO_<C++03 feature> with _LIBCPP_CXX03_LANG in <array> 2017-04-16 02:50:40 +00:00
atomic Fix ATOMIC_<TYPE>_LOCK_FREE macros on Windows. 2017-04-20 23:22:46 +00:00
bitset Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <bitset>, <ios>, <locale>, and <iterator> 2017-04-19 01:34:08 +00:00
cassert
ccomplex
cctype Put back the undefs that Richard removed. Boost won't build w/o these; specifically the file 'bytes_methods.h' in Apple's python framework defines these. 2016-04-04 22:49:20 +00:00
cerrno
cfenv
cfloat
chrono Implement P0548: 'common_type and duration' This involves a subtle change in the return type of the unary +/- operators for std::chrono::duration, though I expect that no one will notice. 2017-03-21 18:38:57 +00:00
cinttypes
ciso646
climits
clocale
cmath [libc++] Drop support for CRTs older than VS 2015 2017-04-07 02:20:52 +00:00
codecvt [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
complex [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
complex.h
condition_variable [libc++] Make _LIBCPP_TYPE_VIS export members 2017-03-02 03:22:18 +00:00
csetjmp
csignal
cstdarg
cstdbool
cstddef Implement P0298R3: 'std::byte'. Reviewed as https://reviews.llvm.org/D31022 2017-03-24 05:45:39 +00:00
cstdint
cstdio [libc++] Drop support for CRTs older than VS 2015 2017-04-07 02:20:52 +00:00
cstdlib [libc++] Respect Windows Store app CRT restrictions 2017-04-06 04:47:49 +00:00
cstring
ctgmath
ctime
ctype.h [libc++] Refactor Windows support headers. 2017-05-10 20:57:45 +00:00
cwchar [libc++] Remove unnecessary MSVCRT exclusions 2016-11-08 03:31:42 +00:00
cwctype
deque Replace _LIBCPP_HAS_NO_<C++03 feature> with _LIBCPP_CXX03_LANG in deque 2017-04-16 03:17:01 +00:00
errno.h
exception [libc++] Implement exception_ptr on Windows 2017-05-08 01:17:50 +00:00
float.h
forward_list Replace _LIBCPP_HAS_NO_<C++03 feature> with _LIBCPP_CXX03_LANG in <forward_list> 2017-04-16 04:02:01 +00:00
fstream Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library 2017-04-18 23:38:41 +00:00
functional Qualify calls to __invoke, __apply_fuctor, and __mu 2017-05-03 21:02:19 +00:00
future Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
initializer_list Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros for std::initializer_list 2017-04-18 23:09:36 +00:00
inttypes.h [include] Declare __STDC_*_MACROS for C++11 compat in old libc 2016-09-26 20:20:00 +00:00
iomanip Move 'quoted' for string_view from <string_view> to <iomanip> (where the other versions of 'quoted' live. No functional change. 2016-10-27 15:10:07 +00:00
ios Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <bitset>, <ios>, <locale>, and <iterator> 2017-04-19 01:34:08 +00:00
iosfwd [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
iostream
istream Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
iterator Implement LWG#2790: Remove istreambuf_iterator::operator->. It never did anything useful. 2017-05-23 18:55:32 +00:00
limits [libc++] Refactor Windows support headers. 2017-05-10 20:57:45 +00:00
limits.h [libcxx] Fix gcc build. 2016-10-10 15:56:01 +00:00
list Replace _LIBCPP_HAS_NO_<C++03 feature> with _LIBCPP_CXX03_LANG in <list> 2017-04-16 03:45:35 +00:00
locale Refactor <locale> RAII guards to aid upcoming Windows locale changes. 2017-05-08 22:02:43 +00:00
locale.h [libcxx] Implement locale.h to fix modules build 2016-11-19 01:14:15 +00:00
map Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in std::map and std::multimap 2017-04-18 21:08:06 +00:00
math.h cmath: Skip Libc for integral types in isinf, etc. 2017-04-21 23:14:55 +00:00
memory Add support for shared_ptr<FunctionType> 2017-05-25 15:43:31 +00:00
module.modulemap Re-add <experimental/coroutine> to the module map. 2017-05-25 23:39:29 +00:00
mutex Add missing acquire_load to call_once overload. 2017-04-23 16:58:48 +00:00
new Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
numeric Fix GCC 7 test failures. 2017-05-09 00:00:00 +00:00
optional Mark the copy constructor and move 2017-05-17 15:30:01 +00:00
ostream Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
queue Cleanup _LIBCPP_HAS_NO_<c++11-feature> for std::queue and std::priority_queue. 2017-04-18 21:23:18 +00:00
random Fix lgamma_r linking errors on Windows. It appears the normal lgamma function is thread safe anyway 2017-05-06 02:58:43 +00:00
ratio [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
regex Cleanup _LIBCPP_HAS_NO_<c++11-features> macro usage in regex 2017-04-18 23:42:15 +00:00
scoped_allocator [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
set Cleanup _LIBCPP_HAS_NO_<c++11-feature> for std::set and std::multiset 2017-04-18 20:58:03 +00:00
setjmp.h
shared_mutex Fix shared_mutex dll import errors on Windows 2017-05-08 01:31:50 +00:00
sstream Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library 2017-04-18 23:38:41 +00:00
stack Cleanup _LIBCPP_HAS_NO_<c++11-feature> macro uses in std::stack. 2017-04-18 21:16:26 +00:00
stdbool.h
stddef.h Check for musl-libc's max_align_t in addition to other variants. 2017-02-10 01:27:42 +00:00
stdexcept Fix unused parameters and variables 2016-12-23 23:37:52 +00:00
stdint.h [include] Declare __STDC_*_MACROS for C++11 compat in old libc 2016-09-26 20:20:00 +00:00
stdio.h [libc++] Refactor Windows support headers. 2017-05-10 20:57:45 +00:00
stdlib.h [libc++] Refactor Windows support headers. 2017-05-10 20:57:45 +00:00
streambuf Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
string Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the string library. 2017-04-19 00:28:44 +00:00
string.h
string_view Remove non-standard basic_string_view::clear() member. 2017-05-12 03:35:53 +00:00
strstream Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library 2017-04-18 23:38:41 +00:00
system_error Add ABI option to remove recently inlined __shared_count functions from the library. 2017-01-17 03:16:26 +00:00
tgmath.h
thread Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in thread. 2017-04-18 23:05:08 +00:00
tuple Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in tuple and utility 2017-04-19 01:23:39 +00:00
type_traits [libc++] Implement LWG 2911 - add an is_aggregate type-trait 2017-04-12 23:08:46 +00:00
typeindex [NFC] Rename _LIBCPP_TYPE_VIS_ONLY to _LIBCPP_TEMPLATE_VIS 2017-01-04 23:56:00 +00:00
typeinfo Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00
unordered_map Cleanup _LIBCPP_HAS_NO_<c++11-feature> in std::unordered_map and std::unordered_multimap 2017-04-18 22:50:56 +00:00
unordered_set Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in std::unordered_set and std::unordered_multiset 2017-04-18 22:37:32 +00:00
utility Fix dllimport on a class template 2017-04-20 01:45:15 +00:00
valarray Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in the numeric tests and headers 2017-04-19 00:23:45 +00:00
variant Fix `std::visit` for the zero variants case. 2017-05-11 07:17:12 +00:00
vector Replace _LIBCPP_HAS_NO_<C++03 feature> with _LIBCPP_CXX03_LANG in vector. 2017-04-16 02:40:45 +00:00
wchar.h [libc++] Refactor Windows support headers. 2017-05-10 20:57:45 +00:00
wctype.h