[all-commits] [llvm/llvm-project] 3f6489: [clang][bytecode] Fix initing incomplete arrays fr...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Feb 25 23:14:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f648992bf317a3496c4d137374d2c1532423d1c
      https://github.com/llvm/llvm-project/commit/3f648992bf317a3496c4d137374d2c1532423d1c
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    A clang/test/AST/ByteCode/libcxx/make_unique.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix initing incomplete arrays from ImplicitValueIni… (#128729)

…tExpr

If the ImplicitValueInitExpr is of incomplete array type, we ignore it
in its Visit function. This is a special case here, so pull out the
element type and zero the elements.



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