[libc-commits] [PATCH] D107999: [libc] Add strtol, strtoul, and strtoull

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Aug 17 10:37:10 PDT 2021


michaelrj updated this revision to Diff 366950.
michaelrj marked 4 inline comments as done.
michaelrj added a comment.

cleaned up over/underflow handling. Fixed an edge case with passing LLONG_MAX followed by other numbers to strtoll.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107999/new/

https://reviews.llvm.org/D107999

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/spec.td
  libc/spec/stdc.td
  libc/src/__support/CMakeLists.txt
  libc/src/__support/str_conv_utils.h
  libc/src/stdlib/CMakeLists.txt
  libc/src/stdlib/strtol.cpp
  libc/src/stdlib/strtol.h
  libc/src/stdlib/strtoll.cpp
  libc/src/stdlib/strtoul.cpp
  libc/src/stdlib/strtoul.h
  libc/src/stdlib/strtoull.cpp
  libc/src/stdlib/strtoull.h
  libc/test/src/stdlib/CMakeLists.txt
  libc/test/src/stdlib/strtol_test.cpp
  libc/test/src/stdlib/strtoll_test.cpp
  libc/test/src/stdlib/strtoul_test.cpp
  libc/test/src/stdlib/strtoull_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107999.366950.patch
Type: text/x-patch
Size: 57771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210817/5c37b0a5/attachment-0001.bin>


More information about the libc-commits mailing list