[clang][Interp] Only check constructors for global variables
authorTimm Bäder <tbaeder@redhat.com>
Wed, 28 Dec 2022 10:43:26 +0000 (11:43 +0100)
committerTimm Bäder <tbaeder@redhat.com>
Thu, 2 Mar 2023 08:13:47 +0000 (09:13 +0100)
commit569222e172e5d28d66e9607325475b107cee20cb
treeb6ea76aea56c023b515c5387eb0bd402fb2007e6
parentbce8b3c1830434c10b8a30380db522d7c6a8658d
[clang][Interp] Only check constructors for global variables

Local variables may be partially initialized.

Differential Revision: https://reviews.llvm.org/D140723
clang/lib/AST/Interp/ByteCodeExprGen.h
clang/lib/AST/Interp/Interp.cpp
clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/Opcodes.td
clang/test/AST/Interp/cxx20.cpp