[all-commits] [llvm/llvm-project] 07b2ba: Reapply "[clang][bytecode] Fix incorrect offset in...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Aug 25 20:24:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07b2ba260041479fd35cb4dd5687779006402dc4
      https://github.com/llvm/llvm-project/commit/07b2ba260041479fd35cb4dd5687779006402dc4
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/EvaluationResult.cpp
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/test/AST/ByteCode/invalid.cpp

  Log Message:
  -----------
  Reapply "[clang][bytecode] Fix incorrect offset in elem() (#155157)" (#155276)

This reverts commit 9642aadf7064192164d1687378d28d6bda1978c9.

Since elem() only works on primitive arrays anyway, we don't have to do
the isArrayRoot() check at all.



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