[clang][Interp][NFC] Remove code duplication in VisitRecordInitializer
authorTimm Bäder <tbaeder@redhat.com>
Wed, 11 Jan 2023 11:12:05 +0000 (12:12 +0100)
committerTimm Bäder <tbaeder@redhat.com>
Wed, 11 Jan 2023 12:08:51 +0000 (13:08 +0100)
commit78a9ee7834331fb4360457cc565fa36f5452f7e0
tree4c9034305b64093b609fb9145a79f1d85a9826cf
parent3696941dae5cc5bb379c50eae6190e29f7edbbb1
[clang][Interp][NFC] Remove code duplication in VisitRecordInitializer

We can just use the regular VisitCallExpr logic here, since we have the
pointer to initialize already on the stack.
clang/lib/AST/Interp/ByteCodeExprGen.cpp