[all-commits] [llvm/llvm-project] 82ca29: [libc] Move str{, r}chr implementation to headers

Alex Brachet via All-commits all-commits at lists.llvm.org
Mon Apr 10 18:17:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82ca29ce54d3b7d8e47aa151e0ce3dff37727c1a
      https://github.com/llvm/llvm-project/commit/82ca29ce54d3b7d8e47aa151e0ce3dff37727c1a
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M libc/src/string/CMakeLists.txt
    M libc/src/string/strchr.cpp
    M libc/src/string/strchrnul.cpp
    M libc/src/string/string_utils.h
    M libc/src/string/strrchr.cpp
    M libc/test/src/string/CMakeLists.txt
    A libc/test/src/string/StrchrTest.h
    M libc/test/src/string/strchr_test.cpp
    M libc/test/src/string/strrchr_test.cpp
    M utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel

  Log Message:
  -----------
  [libc] Move str{,r}chr implementation to headers

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


  Commit: a0a141fcbe1dfd35032fa5c052e6906180a37fb1
      https://github.com/llvm/llvm-project/commit/a0a141fcbe1dfd35032fa5c052e6906180a37fb1
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/arm/entrypoints.txt
    M libc/config/linux/riscv64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/bsd_ext.td
    M libc/src/string/CMakeLists.txt
    A libc/src/string/index.cpp
    A libc/src/string/index.h
    A libc/src/string/rindex.cpp
    A libc/src/string/rindex.h
    M libc/test/src/string/CMakeLists.txt
    A libc/test/src/string/index_test.cpp
    A libc/test/src/string/rindex_test.cpp

  Log Message:
  -----------
  [libc] Add {,r}index

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


Compare: https://github.com/llvm/llvm-project/compare/d8804ecd76db...a0a141fcbe1d


More information about the All-commits mailing list