[clang][Interp] Pass initializer when creating globals
authorTimm Bäder <tbaeder@redhat.com>
Wed, 14 Sep 2022 13:03:04 +0000 (15:03 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Thu, 29 Sep 2022 10:50:54 +0000 (12:50 +0200)
commitda62ed6ceb12031992d863ce272bc4863505b84b
tree05ba0c7d2ac7620726c58912de0cba10618614d4
parent90d87dbf4bbca1f9de019a747f5a32641f34ac64
[clang][Interp] Pass initializer when creating globals

This is dead code right now but will be used for implementing array
fillers, where we need some information from the initializer when
allocaing the Descriptors.

Differential Revision: https://reviews.llvm.org/D133856
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/Program.cpp
clang/lib/AST/Interp/Program.h