[libcxx-commits] [PATCH] D119765: [libc++][AIX] Remove "pragma priority" from locale.cpp

Xing Xue via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 14 12:30:41 PST 2022


xingxue created this revision.
xingxue added reviewers: ldionne, daltenty, hubert.reinterpretcast.
xingxue added a project: libc++.
xingxue requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119765

Files:
  libcxx/src/locale.cpp


Index: libcxx/src/locale.cpp
===================================================================
--- libcxx/src/locale.cpp
+++ libcxx/src/locale.cpp
@@ -127,11 +127,6 @@
 
 }
 
-#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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119765.408515.patch
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220214/ad91c821/attachment.bin>


More information about the libcxx-commits mailing list