[all-commits] [llvm/llvm-project] 222fff: [clang][bytecode] Remove base casts in builtin_obj...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Jan 15 02:45:19 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 222fff827e57743c1cde781cc3e938da68c16171
      https://github.com/llvm/llvm-project/commit/222fff827e57743c1cde781cc3e938da68c16171
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/AST/ByteCode/builtin-object-size-codegen.cpp

  Log Message:
  -----------
  [clang][bytecode] Remove base casts in builtin_object_size (#176111)

If UseFieldDesc is set, we should use the "closest surrounding
subobject", which apparently cannot be a subclass pointer.

Fixes https://github.com/llvm/llvm-project/issues/176079



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