From 16667362d0d1e2b345300a33bbae955b5f986f71 Mon Sep 17 00:00:00 2001 From: Xing Xue Date: Tue, 15 Feb 2022 08:36:29 -0500 Subject: [PATCH] [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 --- libcxx/src/locale.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index 3f8a2610ccc6..a45dcbf2d8dd 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;