[clang][Interp][NFC] Unify Call() implementations
authorTimm Bäder <tbaeder@redhat.com>
Thu, 13 Oct 2022 15:17:44 +0000 (17:17 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Sat, 22 Oct 2022 08:32:05 +0000 (10:32 +0200)
commit0e754cfadc9487282d9b6119c41962c5c6c3660f
tree437eb721332395c246278c05443367ce0db19f9a
parentcc79ddb52c310be50d2ed0e0307b695cc7c142ce
[clang][Interp][NFC] Unify Call() implementations

The type parameter we used to pass to call() was unused. Use the same
implementation for void and value-returning function calls.
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/EvalEmitter.cpp
clang/lib/AST/Interp/Interp.cpp
clang/lib/AST/Interp/Interp.h
clang/lib/AST/Interp/Opcodes.td