Skip to content

Commit a83004f

Browse files
committed
[libcxx][AIX][z/OS] Remove headers included via _IBMCPP__
D127650 removed support for non-clang-based XL compilers, but left some of the headers used only by this compiler and included under the __IBMCPP__ macro. This change cleans this up by deleting these headers. Reviewed By: hubert.reinterpretcast, fanbo-meng Differential Revision: https://reviews.llvm.org/D129491
1 parent 340b48b commit a83004f

File tree

6 files changed

+1
-161
lines changed

6 files changed

+1
-161
lines changed

libcxx/include/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,10 +476,8 @@ set(files
476476
__support/android/locale_bionic.h
477477
__support/fuchsia/xlocale.h
478478
__support/ibm/gettod_zos.h
479-
__support/ibm/limits.h
480479
__support/ibm/locale_mgmt_zos.h
481480
__support/ibm/nanosleep.h
482-
__support/ibm/support.h
483481
__support/ibm/xlocale.h
484482
__support/musl/xlocale.h
485483
__support/newlib/xlocale.h

libcxx/include/__locale

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# include <__support/newlib/xlocale.h>
3434
#elif defined(__OpenBSD__)
3535
# include <__support/openbsd/xlocale.h>
36-
#elif (defined(__APPLE__) || defined(__FreeBSD__) || defined(__IBMCPP__))
36+
#elif (defined(__APPLE__) || defined(__FreeBSD__))
3737
# include <xlocale.h>
3838
#elif defined(__Fuchsia__)
3939
# include <__support/fuchsia/xlocale.h>

libcxx/include/__support/ibm/limits.h

Lines changed: 0 additions & 98 deletions
This file was deleted.

libcxx/include/__support/ibm/support.h

Lines changed: 0 additions & 53 deletions
This file was deleted.

libcxx/include/bit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ namespace std {
7575
# include <iosfwd>
7676
#endif
7777

78-
#if defined(__IBMCPP__)
79-
# include "__support/ibm/support.h"
80-
#endif
8178
#if defined(_LIBCPP_COMPILER_MSVC)
8279
# include <intrin.h>
8380
#endif

libcxx/include/limits

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,6 @@ template<> class numeric_limits<cv long double>;
110110
#include "__support/win32/limits_msvc_win32.h"
111111
#endif // _LIBCPP_MSVCRT
112112

113-
#if defined(__IBMCPP__)
114-
#include "__support/ibm/limits.h"
115-
#endif // __IBMCPP__
116-
117113
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
118114
# pragma GCC system_header
119115
#endif

0 commit comments

Comments
 (0)