[clang][Interp] Materializing primitive temporaries
authorTimm Bäder <tbaeder@redhat.com>
Sat, 15 Oct 2022 12:40:23 +0000 (14:40 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Fri, 3 Feb 2023 14:11:15 +0000 (15:11 +0100)
commit7bb615ea0ec015eb5991ddc00e0a3fc31cb2735e
tree2572c0623a205010731d75cda3ce8cff29670506
parentc3645de20738190fb0f4e6d194f8dd45f94aebbf
[clang][Interp] Materializing primitive temporaries

Implement MaterializeTemporaryExpr for primitive types.

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