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

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Aug 16 16:09:37 PDT 2021


michaelrj updated this revision to Diff 366761.
michaelrj marked 2 inline comments as done.
michaelrj added a comment.

fix the static cast, add a test for long numbers, and a shortcut for the loop.


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.366761.patch
Type: text/x-patch
Size: 57706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210816/b645f664/attachment-0001.bin>


More information about the libc-commits mailing list