[all-commits] [llvm/llvm-project] bad316: [libc] add atoi, atol, and atoll

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Aug 19 11:03:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bad3168b99aa3d55f5ac6bf330637aafc558229c
      https://github.com/llvm/llvm-project/commit/bad3168b99aa3d55f5ac6bf330637aafc558229c
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/atoi.cpp
    A libc/src/stdlib/atoi.h
    A libc/src/stdlib/atol.cpp
    A libc/src/stdlib/atol.h
    A libc/src/stdlib/atoll.cpp
    A libc/src/stdlib/atoll.h
    A libc/test/src/stdlib/atoi_test.cpp
    A libc/test/src/stdlib/atol_test.cpp
    A libc/test/src/stdlib/atoll_test.cpp

  Log Message:
  -----------
  [libc] add atoi, atol, and atoll

This is based on the work done to add strtoll and the other strto
functions. The atoi functions also were added to stdc and
entrypoints.txt.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D108330




More information about the All-commits mailing list