[all-commits] [llvm/llvm-project] 3b8f9a: [clang][bytecode] Loosen assertion This() for arra...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sat Mar 8 04:14:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b8f9a228c5f12f282778b18117b9a88c07e87cb
      https://github.com/llvm/llvm-project/commit/3b8f9a228c5f12f282778b18117b9a88c07e87cb
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-03-08 (Sat, 08 Mar 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/test/AST/ByteCode/placement-new.cpp

  Log Message:
  -----------
  [clang][bytecode] Loosen assertion This() for array elements (#130399)

getRecord() returns null on array elements, even for composite arrays.
The assertion here was overly restrictive and having an array element as
instance pointer should be fine otherwise.



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