Eric Fiselier
b168a7c660
Fix PR39749 - Headers containing just #error harm __has_include.
...
This patch changes <experimental/foo> to use #warning instead of
is harmful to common feature detection idioms.
We should also consider only emitting the warning when __DEPRECATED is
defined, like we do in the <ext/foo> headers. Users may want to specify
"-Werror=-W#warnings" while still ignoring the libc++ warnings.
llvm-svn: 350485
2019-01-06 00:37:31 +00:00
Marshall Clow
a3d37f0716
Remove more of the std::experimental bits that are now in std::. All the _v type aliases, conjunction/disjunction, apply, etc. See https://libcxx.llvm.org/TS_deprecation.html
...
llvm-svn: 324423
2018-02-06 23:13:48 +00:00
Marshall Clow
2d832d2429
Define a new macro: _LIBCPP_HAS_NO_VARIABLE_TEMPLATES and use it. No functionality change.
...
llvm-svn: 232493
2015-03-17 15:30:22 +00:00
Eric Fiselier
cc2e1ab69c
Add pragma system header to some experimental headers and add newlines to files.
...
llvm-svn: 228712
2015-02-10 17:32:49 +00:00
Eric Fiselier
861d0ea2aa
Fix more issues exposed by -pedantic-errors in c++03 mode
...
llvm-svn: 228711
2015-02-10 17:20:18 +00:00
Eric Fiselier
7bffc89cb9
[libcxx] Add <experimental/system_error>
...
Summary:
This patch just adds the variable templates in <experimental/system_error>.
see: https://rawgit.com/cplusplus/fundamentals-ts/v1/fundamentals-ts.html#syserror
Reviewers: jroelofs, danalbert, K-ballo, mclow.lists
Reviewed By: mclow.lists
Subscribers: chandlerc, cfe-commits
Differential Revision: http://reviews.llvm.org/D7353
llvm-svn: 227973
2015-02-03 16:03:24 +00:00