[libcxx-commits] [libcxx] [libc++] Removes codecvt. (PR #72496)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 16 15:05:58 PST 2023
================
@@ -10,7 +10,7 @@
// UNSUPPORTED: c++03
-// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS
+// ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -D_LIBCPP_ENABLE_CXX26_REMOVED_CODECVT
----------------
ldionne wrote:
Not attached to this line: perhaps we could add a test that does
```
#include <codecvt>
void f() {
std:: codecvt_utf8<whatever> x; // expected-error {{no member named codecvt_utf8 in namespace std}}
}
```
or something like that?
https://github.com/llvm/llvm-project/pull/72496
More information about the libcxx-commits
mailing list