[all-commits] [llvm/llvm-project] a5588b: [libc] implement `strings/ffs` (#129892)

Connector Switch via All-commits all-commits at lists.llvm.org
Fri Mar 7 17:31:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5588b6d20590a10db0f1a2046fba4d9f205ed68
      https://github.com/llvm/llvm-project/commit/a5588b6d20590a10db0f1a2046fba4d9f205ed68
  Author: Connector Switch <c8ef at outlook.com>
  Date:   2025-03-08 (Sat, 08 Mar 2025)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/include/strings.yaml
    M libc/src/strings/CMakeLists.txt
    A libc/src/strings/ffs.cpp
    A libc/src/strings/ffs.h
    A libc/src/strings/ffsl.cpp
    A libc/src/strings/ffsl.h
    A libc/src/strings/ffsll.cpp
    A libc/src/strings/ffsll.h
    M libc/test/src/strings/CMakeLists.txt
    A libc/test/src/strings/ffs_test.cpp
    A libc/test/src/strings/ffsl_test.cpp
    A libc/test/src/strings/ffsll_test.cpp

  Log Message:
  -----------
  [libc] implement `strings/ffs` (#129892)

This patch adds the `strings/ffs` function.
ref: https://pubs.opengroup.org/onlinepubs/9799919799/functions/ffs.html
Closes: #122054.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list