[all-commits] [llvm/llvm-project] 9b6f8b: [libc] add stpcpy and stpncpy

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Nov 4 11:39:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b6f8b985c6a22f16a7c6a611d239198cf1d1504
      https://github.com/llvm/llvm-project/commit/9b6f8b985c6a22f16a7c6a611d239198cf1d1504
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/posix.td
    M libc/src/string/CMakeLists.txt
    A libc/src/string/stpcpy.cpp
    A libc/src/string/stpcpy.h
    A libc/src/string/stpncpy.cpp
    A libc/src/string/stpncpy.h
    M libc/test/src/string/CMakeLists.txt
    A libc/test/src/string/stpcpy_test.cpp
    A libc/test/src/string/stpncpy_test.cpp
    M libc/test/src/string/strcpy_test.cpp

  Log Message:
  -----------
  [libc] add stpcpy and stpncpy

Adds an implementation for stpcpy and stpncpy, which are posix extension
functions.

Reviewed By: sivachandra, lntue

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




More information about the All-commits mailing list