[all-commits] [llvm/llvm-project] 49063b: [clang][bytecode] Split `CheckRange` into `Pointer...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Sep 30 07:24:34 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49063b8d952d3876eabe9bf6b372cb9d95446b13
      https://github.com/llvm/llvm-project/commit/49063b8d952d3876eabe9bf6b372cb9d95446b13
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpHelpers.h

  Log Message:
  -----------
  [clang][bytecode] Split `CheckRange` into `Pointer` and `PtrView` variants (#227719)

The previous version copied the `Pointer`, which is bad because that
inserts the new pointer into the linked list of the block. Changing to
`const T &` seems to regress the `PtrView` variant though, so bite the
bullet and accept the code duplication.



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