[clang][Interp] Diagnose uninitialized array record fields
authorTimm Bäder <tbaeder@redhat.com>
Thu, 27 Oct 2022 09:37:11 +0000 (11:37 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Thu, 19 Jan 2023 10:07:51 +0000 (11:07 +0100)
commit9308014195e2f091c0025ef4aa26ece080b7da8d
tree375274375869fd52a8fddaa7691310541da72431
parentccb67491f0dd55c5bd8ed5f71cb802422bfaa969
[clang][Interp] Diagnose uninitialized array record fields

Just like we do for record members, diagnose uninitialized array record
fields.

Differential Revision: https://reviews.llvm.org/D136828
clang/lib/AST/Interp/Interp.cpp
clang/lib/AST/Interp/Pointer.h
clang/test/AST/Interp/cxx20.cpp