Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions libcxx/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,6 @@ set(files
limits
list
locale
locale.h
map
math.h
mdspan
Expand Down Expand Up @@ -998,7 +997,6 @@ set(files
stdbool.h
stddef.h
stdexcept
stdint.h
stdio.h
stdlib.h
stop_token
Expand Down
8 changes: 0 additions & 8 deletions libcxx/include/clocale
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ lconv* localeconv();

#include <locale.h>

#ifndef _LIBCPP_LOCALE_H
# error <clocale> tried including <locale.h> but didn't find libc++'s <locale.h> header. \
This usually means that your header search paths are not configured properly. \
The header search paths should contain the C++ Standard Library headers before \
any C Standard Library, and you are probably using compiler flags that make that \
not be the case.
#endif

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif
Expand Down
8 changes: 0 additions & 8 deletions libcxx/include/cstdint
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,6 @@ Types:

#include <stdint.h>

#ifndef _LIBCPP_STDINT_H
# error <cstdint> tried including <stdint.h> but didn't find libc++'s <stdint.h> header. \
This usually means that your header search paths are not configured properly. \
The header search paths should contain the C++ Standard Library headers before \
any C Standard Library, and you are probably using compiler flags that make that \
not be the case.
#endif

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif
Expand Down
46 changes: 0 additions & 46 deletions libcxx/include/locale.h

This file was deleted.

8 changes: 0 additions & 8 deletions libcxx/include/module.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -2184,10 +2184,6 @@ module std_inttypes_h [system] {
header "inttypes.h"
export *
}
module std_locale_h [system] {
header "locale.h"
export *
}
module std_math_h [system] {
header "math.h"
export *
Expand All @@ -2204,10 +2200,6 @@ module std_stddef_h [system] {
// <stddef.h>'s __need_* macros require textual inclusion.
textual header "stddef.h"
}
module std_stdint_h [system] {
header "stdint.h"
export *
}
module std_stdio_h [system] {
// <stdio.h>'s __need_* macros require textual inclusion.
textual header "stdio.h"
Expand Down
127 changes: 0 additions & 127 deletions libcxx/include/stdint.h

This file was deleted.

3 changes: 0 additions & 3 deletions libcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ extern "C" {
#include <inttypes.h>
#include <iso646.h>
#include <limits.h>
#ifndef _LIBCPP_HAS_NO_LOCALIZATION
# include <locale.h>
#endif
#include <math.h>
#include <setjmp.h>
#include <signal.h>
Expand Down
2 changes: 0 additions & 2 deletions libcxx/utils/libcxx/header_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

# headers with #error directives
"ios": "!defined(_LIBCPP_HAS_NO_LOCALIZATION)",
"locale.h": "!defined(_LIBCPP_HAS_NO_LOCALIZATION)",
# transitive includers of the above headers
"clocale": "!defined(_LIBCPP_HAS_NO_LOCALIZATION)",
"codecvt": "!defined(_LIBCPP_HAS_NO_LOCALIZATION)",
Expand Down Expand Up @@ -53,7 +52,6 @@
"istream": "// UNSUPPORTED: no-localization",
"latch": "// UNSUPPORTED: no-threads, c++03, c++11, c++14, c++17",
"locale": "// UNSUPPORTED: no-localization",
"locale.h": "// UNSUPPORTED: no-localization",
"mutex": "// UNSUPPORTED: no-threads, c++03",
"ostream": "// UNSUPPORTED: no-localization",
"print": "// UNSUPPORTED: no-filesystem, c++03, c++11, c++14, c++17, c++20, availability-fp_to_chars-missing", # TODO PRINT investigate
Expand Down
Loading