[all-commits] [llvm/llvm-project] c42912: Fix string_length function so that it always retur...

Amy Huang via All-commits all-commits at lists.llvm.org
Fri Jun 13 13:08:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c42912b8c96ff1130437e47c163aeb5c1191fe5d
      https://github.com/llvm/llvm-project/commit/c42912b8c96ff1130437e47c163aeb5c1191fe5d
  Author: Amy Huang <akhuang at google.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M libc/src/string/string_utils.h

  Log Message:
  -----------
  Fix string_length function so that it always returns. (#144148)

Previously setting LIBC_COPT_STRING_UNSAFE_WIDE_READ would cause a build
error because there is a path in the ifdef that doesn't return anything.



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