[all-commits] [llvm/llvm-project] 5dafe9: [libc] Reduce direct use of errno in src/stdlib an...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Wed Jun 11 12:23:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dafe9dca867b90f20dcd71c620ad823aee4262b
      https://github.com/llvm/llvm-project/commit/5dafe9dca867b90f20dcd71c620ad823aee4262b
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M libc/test/src/__support/CMakeLists.txt
    M libc/test/src/__support/str_to_double_test.cpp
    M libc/test/src/__support/str_to_float_test.cpp
    M libc/test/src/__support/str_to_fp_test.h
    M libc/test/src/__support/str_to_integer_test.cpp
    M libc/test/src/stdlib/CMakeLists.txt
    M libc/test/src/stdlib/StrtolTest.h
    M libc/test/src/stdlib/atof_test.cpp
    M libc/test/src/stdlib/strtod_test.cpp
    M libc/test/src/stdlib/strtof_test.cpp
    M libc/test/src/stdlib/strtold_test.cpp
    M libc/test/src/string/CMakeLists.txt
    M libc/test/src/string/strdup_test.cpp

  Log Message:
  -----------
  [libc] Reduce direct use of errno in src/stdlib and src/__support tests. (#143767)

* Get rid of libc_errno assignments in str_to_* __support tests, since
those API have been migrated to return error in a struct instead.
* Migrate tests for atof and to strto* functions from <stdlib.h> and for
strdup from <string.h> to use ErrnoCheckingTest harness.



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