diff options
author | Mark de Wever <koraq@xs4all.nl> | 2023-04-20 21:03:40 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2023-05-14 20:03:55 +0200 |
commit | b7932803dede5f95eed3b1777dfd40ce94ef1676 (patch) | |
tree | 658105ba4d50dd23ca04d5cec3999253eaa2aca6 /libcxx/test | |
parent | f46b0e6d75fa84d2d2d9805e3d2be2c1e6c140f1 (diff) | |
download | llvm-b7932803dede5f95eed3b1777dfd40ce94ef1676.tar.gz |
[libc++] Moves unwrap_reference to type_traits.
This was discovered while working on modules.
Reviewed By: #libc, philnik
Differential Revision: https://reviews.llvm.org/D149351
Diffstat (limited to 'libcxx/test')
-rw-r--r-- | libcxx/test/libcxx/private_headers.verify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/libcxx/private_headers.verify.cpp b/libcxx/test/libcxx/private_headers.verify.cpp index 60d7081da09a..33cc828b9218 100644 --- a/libcxx/test/libcxx/private_headers.verify.cpp +++ b/libcxx/test/libcxx/private_headers.verify.cpp @@ -431,7 +431,6 @@ END-SCRIPT #include <__functional/reference_wrapper.h> // expected-error@*:* {{use of private header from outside its module: '__functional/reference_wrapper.h'}} #include <__functional/unary_function.h> // expected-error@*:* {{use of private header from outside its module: '__functional/unary_function.h'}} #include <__functional/unary_negate.h> // expected-error@*:* {{use of private header from outside its module: '__functional/unary_negate.h'}} -#include <__functional/unwrap_ref.h> // expected-error@*:* {{use of private header from outside its module: '__functional/unwrap_ref.h'}} #include <__functional/weak_result_type.h> // expected-error@*:* {{use of private header from outside its module: '__functional/weak_result_type.h'}} #include <__fwd/array.h> // expected-error@*:* {{use of private header from outside its module: '__fwd/array.h'}} #include <__fwd/fstream.h> // expected-error@*:* {{use of private header from outside its module: '__fwd/fstream.h'}} @@ -776,6 +775,7 @@ END-SCRIPT #include <__type_traits/type_identity.h> // expected-error@*:* {{use of private header from outside its module: '__type_traits/type_identity.h'}} #include <__type_traits/type_list.h> // expected-error@*:* {{use of private header from outside its module: '__type_traits/type_list.h'}} #include <__type_traits/underlying_type.h> // expected-error@*:* {{use of private header from outside its module: '__type_traits/underlying_type.h'}} +#include <__type_traits/unwrap_ref.h> // expected-error@*:* {{use of private header from outside its module: '__type_traits/unwrap_ref.h'}} #include <__type_traits/void_t.h> // expected-error@*:* {{use of private header from outside its module: '__type_traits/void_t.h'}} #include <__utility/as_const.h> // expected-error@*:* {{use of private header from outside its module: '__utility/as_const.h'}} #include <__utility/auto_cast.h> // expected-error@*:* {{use of private header from outside its module: '__utility/auto_cast.h'}} |