[libcxx-commits] [PATCH] D127650: [libc++] Remove macros for IBM compiler

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 13 08:22:17 PDT 2022


ldionne created this revision.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

It's not tested or used anymore -- instead a Clang-based compiler is
used on IBM nowadays.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127650

Files:
  libcxx/include/__config


Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -201,8 +201,6 @@
 #  define _LIBCPP_COMPILER_GCC
 #elif defined(_MSC_VER)
 #  define _LIBCPP_COMPILER_MSVC
-#elif defined(__IBMCPP__)
-#  define _LIBCPP_COMPILER_IBM
 #endif
 
 #if defined(_LIBCPP_COMPILER_GCC) && __cplusplus < 201103L
@@ -506,28 +504,7 @@
 
 #define _LIBCPP_DISABLE_EXTENSION_WARNING
 
-#elif defined(_LIBCPP_COMPILER_IBM)
-
-#define _ALIGNAS(x) __attribute__((__aligned__(x)))
-#define _ALIGNAS_TYPE(x) __attribute__((__aligned__(_LIBCPP_ALIGNOF(x))))
-#define _ATTRIBUTE(x) __attribute__((x))
-#define _LIBCPP_NORETURN __attribute__((noreturn))
-
-#define _LIBCPP_HAS_NO_UNICODE_CHARS
-
-#if defined(_AIX)
-#define __MULTILOCALE_API
-#endif
-
-#define _LIBCPP_HAS_NO_ASAN
-
-#define _LIBCPP_ALWAYS_INLINE __attribute__ ((__always_inline__))
-
-#define _LIBCPP_HAS_NO_VECTOR_EXTENSION
-
-#define _LIBCPP_DISABLE_EXTENSION_WARNING
-
-#endif // _LIBCPP_COMPILER_[CLANG|GCC|MSVC|IBM]
+#endif // _LIBCPP_COMPILER_[CLANG|GCC|MSVC]
 
 #if defined(_LIBCPP_OBJECT_FORMAT_COFF)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127650.436403.patch
Type: text/x-patch
Size: 1148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220613/ab1e02e5/attachment-0001.bin>


More information about the libcxx-commits mailing list