[clang][bytecode] Initialize bases when bitcasting (#117179)
commit7aec6dc477f8148ed066d10dfc7a012a51b6599c
authorTimm Baeder <tbaeder@redhat.com>
Wed, 4 Dec 2024 15:49:03 +0000 (4 16:49 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Dec 2024 15:49:03 +0000 (4 16:49 +0100)
tree678d285a548d8d237e6be106241ff86b611e282d
parent3b904ae5ac5e9d759f3629e9a6b98f14bbfb304c
[clang][bytecode] Initialize bases when bitcasting (#117179)

Base pointers do not get passed to the callback, so initialize them when iterating bases.
clang/lib/AST/ByteCode/BitcastBuffer.h
clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp
clang/lib/AST/ByteCode/Record.h
clang/test/AST/ByteCode/builtin-bit-cast.cpp