[all-commits] [llvm/llvm-project] 3843c1: [clang][bytecode] `Pointer::computeOffsetForCompar...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri May 29 03:17:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3843c160526fcda1e6c0760bff09b9c43c3a0b9d
      https://github.com/llvm/llvm-project/commit/3843c160526fcda1e6c0760bff09b9c43c3a0b9d
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  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/const-eval.c

  Log Message:
  -----------
  [clang][bytecode] `Pointer::computeOffsetForComparison()` can fail (#199987)

It used to cause an assertion failure inside
`ASTContext::getTypeSizeInChars()` when the reocord decl was not
defined.



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