[PATCH] D135013: [clang][Interp] Array initialization via ImplicitValueInitExpr

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 20 07:12:41 PDT 2022


aaron.ballman added a comment.

In D135013#3870894 <https://reviews.llvm.org/D135013#3870894>, @tbaeder wrote:

> @aaron.ballman Do you maybe have a different reproducer or know more about the expected behavior of a `ImplicitValueInitExpr` for array and record types?

So here's another reproducer with a record type: https://godbolt.org/z/EhT4oqT3s and here's one with an array type: https://godbolt.org/z/Pbncnq418

My understanding of `ImplicitValueInitExpr` is that it's used to represent some of the "holes" in the middle of an array/record that need to implicit get some values.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135013/new/

https://reviews.llvm.org/D135013



More information about the cfe-commits mailing list