mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-05 00:29:35 -08:00
[libc++] Qualifies uint32_t and friends.
This has been done using the following command
find libcxx/test -type f -exec perl -pi -e 's|^([^/]+?)((?<!::)(?<!::u)u?int(_[a-z]+)?[0-9]{1,2}_t)|\1std::\2|' \{} \;
And manually removed some false positives in std/depr/depr.c.headers.
Reviewed By: ldionne, #libc
Differential Revision: https://reviews.llvm.org/D145880
This commit is contained in:
1 parent
f8bd0be602
commit
bd5d0fee9b
70 files changed
+573
-573
No files matched your search
+1
-1
@@ -145,7 +145,7 @@ TEST_CONSTEXPR_CXX20 bool test() {
|
||||
|
||||
{ // test assigning a different type
|
||||
typedef std::string S;
|
||||
const uint8_t p[] = "ABCD";
|
||||
const std::uint8_t p[] = "ABCD";
|
||||
|
||||
S s;
|
||||
s.insert(s.begin(), p, p + 4);
|
||||
|
||||
Reference in new issue
Block a user