[all-commits] [llvm/llvm-project] 65cede: [clang][bytecode] Fix emitting dtors of zero-sized...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Apr 7 21:09:42 PDT 2025


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

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/test/AST/ByteCode/cxx23.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix emitting dtors of zero-sized arrays (#134672)

Desc->getNumElems() returning 0 made us underflow here.



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