summaryrefslogtreecommitdiffstats
path: root/libcxx/include/experimental/system_error
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-02-06 23:13:48 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-02-06 23:13:48 +0000
commita3d37f071697771071addf2d9f2decad923de3ad (patch)
treef6111247cc56a4536b50590840bde12e16bf3d8b /libcxx/include/experimental/system_error
parent98f8bba283969d51aba53018a0a1f31838006a58 (diff)
downloadbcm5719-llvm-a3d37f071697771071addf2d9f2decad923de3ad.tar.gz
bcm5719-llvm-a3d37f071697771071addf2d9f2decad923de3ad.zip
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
Diffstat (limited to 'libcxx/include/experimental/system_error')
-rw-r--r--libcxx/include/experimental/system_error54
1 files changed, 1 insertions, 53 deletions
diff --git a/libcxx/include/experimental/system_error b/libcxx/include/experimental/system_error
index 2ec23854461..7937357fa14 100644
--- a/libcxx/include/experimental/system_error
+++ b/libcxx/include/experimental/system_error
@@ -8,56 +8,4 @@
//
//===----------------------------------------------------------------------===//
-#ifndef _LIBCPP_EXPERIMENTAL_SYSTEM_ERROR
-#define _LIBCPP_EXPERIMENTAL_SYSTEM_ERROR
-
-/**
- experimental/system_error synopsis
-
-// C++1y
-
-#include <system_error>
-
-namespace std {
-namespace experimental {
-inline namespace fundamentals_v1 {
-
- // See C++14 19.5, System error support
- template <class T> constexpr bool is_error_code_enum_v
- = is_error_code_enum<T>::value;
- template <class T> constexpr bool is_error_condition_enum_v
- = is_error_condition_enum<T>::value;
-
-} // namespace fundamentals_v1
-} // namespace experimental
-} // namespace std
-
-*/
-
-#include <experimental/__config>
-
-#if _LIBCPP_STD_VER > 11
-
-#include <system_error>
-
-#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
-#pragma GCC system_header
-#endif
-
-_LIBCPP_BEGIN_NAMESPACE_LFTS
-
-#ifndef _LIBCPP_HAS_NO_VARIABLE_TEMPLATES
-
-template <class _Tp> _LIBCPP_CONSTEXPR bool is_error_code_enum_v
- = is_error_code_enum<_Tp>::value;
-
-template <class _Tp> _LIBCPP_CONSTEXPR bool is_error_condition_enum_v
- = is_error_condition_enum<_Tp>::value;
-
-#endif /* _LIBCPP_HAS_NO_VARIABLE_TEMPLATES */
-
-_LIBCPP_END_NAMESPACE_LFTS
-
-#endif /* _LIBCPP_STD_VER > 11 */
-
-#endif /* _LIBCPP_EXPERIMENTAL_SYSTEM_ERROR */
+#error "<experimental/system_error> has been removed. Use <system_error> instead."
OpenPOWER on IntegriCloud