diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-09-11 14:59:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 14:59:43 -0400 |
commit | 118f120eaab8d763b28c71f0d2e2c1e0c752832b (patch) | |
tree | e7733595927bea73cb907181efe871dfb9764d9c /libcxx/src | |
parent | bbff52bfd49336bc0fdc83d8dfc616266bc07cbf (diff) | |
download | llvm-118f120eaab8d763b28c71f0d2e2c1e0c752832b.zip llvm-118f120eaab8d763b28c71f0d2e2c1e0c752832b.tar.gz llvm-118f120eaab8d763b28c71f0d2e2c1e0c752832b.tar.bz2 |
[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.
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/any.cpp | 2 | ||||
-rw-r--r-- | libcxx/src/optional.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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 <experimental/__config> +#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 <experimental/__config> +#include <__config> // Preserve std::experimental::bad_optional_access for ABI compatibility // Even though it no longer exists in a header file |