[libcxx-commits] [libcxx] [libc++][NFC] Use uint32_t instead of __uint32_t on Apple (PR #122356)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jan 9 12:02:45 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: Louis Dionne (ldionne)
<details>
<summary>Changes</summary>
We had a 15 year old occurence of __uint32_t, likely from a time when uint32_t was not available everywhere.
---
Full diff: https://github.com/llvm/llvm-project/pull/122356.diff
1 Files Affected:
- (modified) libcxx/include/__locale (+1-1)
``````````diff
diff --git a/libcxx/include/__locale b/libcxx/include/__locale
index 94dc8a08437bfe..8bedd113fb5910 100644
--- a/libcxx/include/__locale
+++ b/libcxx/include/__locale
@@ -348,7 +348,7 @@ public:
# define _LIBCPP_CTYPE_MASK_IS_COMPOSITE_ALPHA
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
# ifdef __APPLE__
- typedef __uint32_t mask;
+ typedef uint32_t mask;
# elif defined(__FreeBSD__)
typedef unsigned long mask;
# elif defined(__NetBSD__)
``````````
</details>
https://github.com/llvm/llvm-project/pull/122356
More information about the libcxx-commits
mailing list