[all-commits] [llvm/llvm-project] 1e9902: [clang][bytecode] Fix `__builtin_strchr` with unsi...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Oct 21 07:32:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e99026b45b048a52f8372399ab83d488132842e
      https://github.com/llvm/llvm-project/commit/1e99026b45b048a52f8372399ab83d488132842e
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-10-21 (Tue, 21 Oct 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/SemaCXX/constexpr-string.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix `__builtin_strchr` with unsigned chars (#164410)

Get the zero-extended truncated desired value in that case. Add one RUN
line to the constexpr-string.cpp test case, to not increase the runtime
of that test too much.



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