[libcxx-commits] [libcxx] 1666736 - [libc++][AIX] Remove "pragma priority" from locale.cpp
Xing Xue via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 15 05:37:34 PST 2022
Author: Xing Xue
Date: 2022-02-15T08:36:29-05:00
New Revision: 16667362d0d1e2b345300a33bbae955b5f986f71
URL: https://github.com/llvm/llvm-project/commit/16667362d0d1e2b345300a33bbae955b5f986f71
DIFF: https://github.com/llvm/llvm-project/commit/16667362d0d1e2b345300a33bbae955b5f986f71.diff
LOG: [libc++][AIX] Remove "pragma priority" from locale.cpp
Summary:
The pragma priority guarded for AIX in locale.cpp is no longer useful and is ignored by the current AIX build compilers. This patch removes it from the source.
Reviewed by: ldionne, hubert.reinterpretcast, libc++
Differential Revision: https://reviews.llvm.org/D119765
Added:
Modified:
libcxx/src/locale.cpp
Removed:
################################################################################
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp
index 3f8a2610ccc67..a45dcbf2d8dd8 100644
--- a/libcxx/src/locale.cpp
+++ b/libcxx/src/locale.cpp
@@ -126,11 +126,6 @@ _LIBCPP_NORETURN static void __throw_runtime_error(const string &msg)
}
-#if defined(_AIX)
-// Set priority to INT_MIN + 256 + 150
-# pragma priority ( -2147483242 )
-#endif
-
const locale::category locale::none;
const locale::category locale::collate;
const locale::category locale::ctype;
More information about the libcxx-commits
mailing list