|
Revision tags: llvmorg-20.1.0, llvmorg-20.1.0-rc3, llvmorg-20.1.0-rc2, llvmorg-20.1.0-rc1, llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2, llvmorg-13.0.1-rc1 |
|
| #
53804d4e |
| 20-Oct-2021 |
Michael Jones <[email protected]> |
[libc] fix strtol returning the wrong length
Previously, strtol/ll/ul/ull would return a pointer to the end of its parsing, regardless of if it detected a number. Now it will return a length of 0 wh
[libc] fix strtol returning the wrong length
Previously, strtol/ll/ul/ull would return a pointer to the end of its parsing, regardless of if it detected a number. Now it will return a length of 0 when it doesn't find a number.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D112176
show more ...
|
|
Revision tags: llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3 |
|
| #
37ce7349 |
| 01-Sep-2021 |
Michael Jones <[email protected]> |
[libc] fix strtointeger hex prefix parsing
Fix edge case where "0x" would be considered a complete hexadecimal number for purposes of str_end. Now the hexadecimal prefix needs a valid digit after it
[libc] fix strtointeger hex prefix parsing
Fix edge case where "0x" would be considered a complete hexadecimal number for purposes of str_end. Now the hexadecimal prefix needs a valid digit after it, else just the 0 will be counted as the number.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D109084
show more ...
|
| #
4e1a164d |
| 27-Aug-2021 |
Roland McGrath <[email protected]> |
[libc] Fix various -Wconversion warnings in strto*l test code.
The Fuchsia build compiles the libc and test code with lots of warnings enabled, including all the integer conversion warnings. There w
[libc] Fix various -Wconversion warnings in strto*l test code.
The Fuchsia build compiles the libc and test code with lots of warnings enabled, including all the integer conversion warnings. There was some sloppy type usage here that triggered some of those.
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D108800
show more ...
|
|
Revision tags: llvmorg-13.0.0-rc2 |
|
| #
6bbfd6a9 |
| 24-Aug-2021 |
Michael Jones <[email protected]> |
[libc] Fix type errors on Windows
Fix the errors caused by having some numbers too large for a 32 bit number in the tests for windows. Also fix the base causing some type confusion.
Reviewed By: si
[libc] Fix type errors on Windows
Fix the errors caused by having some numbers too large for a 32 bit number in the tests for windows. Also fix the base causing some type confusion.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D108653
show more ...
|
| #
1d02a8bc |
| 23-Aug-2021 |
Michael Jones <[email protected]> |
[libc] fix string conversion tests for windows
There were some copy paste errors as well as some oddities around how windows handles the difference between long and long long types. This change fixe
[libc] fix string conversion tests for windows
There were some copy paste errors as well as some oddities around how windows handles the difference between long and long long types. This change fixes those.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D108591
show more ...
|
| #
d52f0aec |
| 12-Aug-2021 |
Michael Jones <[email protected]> |
[libc] Add strtol, strtoul, and strtoull
Updates the internal string conversion function so that it uses the new Limits.h added in a previous commit for max and min values, and has a templated type.
[libc] Add strtol, strtoul, and strtoull
Updates the internal string conversion function so that it uses the new Limits.h added in a previous commit for max and min values, and has a templated type. This makes implementing the other strto* functions very simple.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D107999
show more ...
|
| #
b062d639 |
| 05-Aug-2021 |
Michael Jones <[email protected]> |
[libc] add strtoll function and backend
This change adds the stroll function, but most of the implementation is in the new file str_conv_utils.h since many of the other integer conversion functions
[libc] add strtoll function and backend
This change adds the stroll function, but most of the implementation is in the new file str_conv_utils.h since many of the other integer conversion functions are implemented through what are effectively calls to strtoll.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D107792
show more ...
|