summaryrefslogtreecommitdiff
path: root/clang-r353983/include/c++/v1/experimental/optional
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r353983/include/c++/v1/experimental/optional')
-rw-r--r--clang-r353983/include/c++/v1/experimental/optional20
1 files changed, 20 insertions, 0 deletions
diff --git a/clang-r353983/include/c++/v1/experimental/optional b/clang-r353983/include/c++/v1/experimental/optional
new file mode 100644
index 00000000..1749cd6a
--- /dev/null
+++ b/clang-r353983/include/c++/v1/experimental/optional
@@ -0,0 +1,20 @@
+// -*- C++ -*-
+//===-------------------------- optional ----------------------------------===//
+//
+// 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_OPTIONAL
+#define _LIBCPP_EXPERIMENTAL_OPTIONAL
+
+#include <__config>
+
+#ifdef _LIBCPP_WARNING
+_LIBCPP_WARNING("<experimental/optional> has been removed. Use <optional> instead.")
+#else
+# warning "<experimental/optional> has been removed. Use <optional> instead."
+#endif
+
+#endif // _LIBCPP_EXPERIMENTAL_OPTIONAL