From 118f120eaab8d763b28c71f0d2e2c1e0c752832b Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 11 Sep 2024 14:59:43 -0400 Subject: [libc++] Get rid of experimental/__config (#108233) It doesn't serve much of a purpose since we can easily put its contents inside __config. Removing it simplifies the modulemap once we are trying to create a single top-level module. --- libcxx/src/any.cpp | 2 +- libcxx/src/optional.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libcxx/src') diff --git a/libcxx/src/any.cpp b/libcxx/src/any.cpp index b0ad695..eaca2dd 100644 --- a/libcxx/src/any.cpp +++ b/libcxx/src/any.cpp @@ -12,7 +12,7 @@ namespace std { const char* bad_any_cast::what() const noexcept { return "bad any cast"; } } // namespace std -#include +#include <__config> // Preserve std::experimental::any_bad_cast for ABI compatibility // Even though it no longer exists in a header file diff --git a/libcxx/src/optional.cpp b/libcxx/src/optional.cpp index 62b474a..4e7e288 100644 --- a/libcxx/src/optional.cpp +++ b/libcxx/src/optional.cpp @@ -17,7 +17,7 @@ const char* bad_optional_access::what() const noexcept { return "bad_optional_ac } // namespace std -#include +#include <__config> // Preserve std::experimental::bad_optional_access for ABI compatibility // Even though it no longer exists in a header file -- cgit v1.1