[all-commits] [llvm/llvm-project] 6196b4: [clang][bytecode] Don't set OnePastEnd bit for arr...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Apr 19 07:49:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6196b4ee8c47dc4a2267b7c704d1811e68c7f1c1
      https://github.com/llvm/llvm-project/commit/6196b4ee8c47dc4a2267b7c704d1811e68c7f1c1
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-04-19 (Sat, 19 Apr 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/test/AST/ByteCode/arrays.cpp

  Log Message:
  -----------
  [clang][bytecode] Don't set OnePastEnd bit for array elements (#136422)

If we refer to arr[N], don't set the OnePastEnd bit of the APValue,
since that is already encoded in the array index.



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