[clang][Interp] Implement nested struct initialization
authorTimm Bäder <tbaeder@redhat.com>
Mon, 19 Sep 2022 11:16:47 +0000 (13:16 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Fri, 14 Oct 2022 08:21:53 +0000 (10:21 +0200)
commitcb5f205828e696fb23cfe3de57af83d151ffad38
treede62315cf54dd6d62b65582c268ebb3934c89883
parent0ddd13acc9e9b820c8f610c9006ef59aef8e5320
[clang][Interp] Implement nested struct initialization

Recurse into visitInitializer() if necessary.

Differential Revision: https://reviews.llvm.org/D134175
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/ByteCodeStmtGen.cpp
clang/test/AST/Interp/records.cpp