[all-commits] [llvm/llvm-project] 7267db: [clang][bytecode] Fix comparing the addresses of u...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Apr 1 00:01:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7267dbfe1032f5ebd698403848fab4bbfcbe0b19
      https://github.com/llvm/llvm-project/commit/7267dbfe1032f5ebd698403848fab4bbfcbe0b19
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/test/AST/ByteCode/unions.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix comparing the addresses of union members (#133852)

Union members get the same address, so we can't just use
`Pointer::getByteOffset()`.



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