diff options
| author | Louis Dionne <ldionne@apple.com> | 2019-06-11 14:48:40 +0000 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2019-06-11 14:48:40 +0000 |
| commit | 776acf225b371b4f4623751a3de8c2d3d324473c (patch) | |
| tree | e4f2cc67dfed4fb35cf7512eb81d1ec9175fe49c /libcxx/include/experimental/string_view | |
| parent | 10ed68189a85cc84ff4a2141777ef73d069ff197 (diff) | |
| download | bcm5719-llvm-776acf225b371b4f4623751a3de8c2d3d324473c.tar.gz bcm5719-llvm-776acf225b371b4f4623751a3de8c2d3d324473c.zip | |
[libcxx] Slightly improved policy for handling experimental features
Summary:
Following the discussion on the libcxx-dev mailing list
(http://lists.llvm.org/pipermail/libcxx-dev/2019-May/000358.html),
this implements the new policy for handling experimental features and
their deprecation. We basically add a deprecation warning for
std::experimental::filesystem, and we remove a bunch of <experimental/*>
headers that were now empty.
Reviewers: mclow.lists, EricWF
Subscribers: mgorny, christof, jkorous, dexonsmith, arphaman, libcxx-commits, jfb
Tags: #libc
Differential Revision: https://reviews.llvm.org/D62428
llvm-svn: 363072
Diffstat (limited to 'libcxx/include/experimental/string_view')
| -rw-r--r-- | libcxx/include/experimental/string_view | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libcxx/include/experimental/string_view b/libcxx/include/experimental/string_view deleted file mode 100644 index 4b59e6d0119..00000000000 --- a/libcxx/include/experimental/string_view +++ /dev/null @@ -1,20 +0,0 @@ -// -*- C++ -*- -//===------------------------ string_view ---------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// -#ifndef _LIBCPP_EXPERIMENTAL_STRING_VIEW -#define _LIBCPP_EXPERIMENTAL_STRING_VIEW - -#include <__config> - -#ifdef _LIBCPP_WARNING -_LIBCPP_WARNING("<experimental/string_view> has been removed. Use <string_view> instead.") -#else -# warning "<experimental/string_view> has been removed. Use <string_view> instead." -#endif - -#endif // _LIBCPP_EXPERIMENTAL_STRING_VIEW |

