<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/146832>146832</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Bytecode Interpreter: Use in `VarDecl::evaluateDestruction`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend,
clang:bytecode
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tbaederr
</td>
</tr>
</table>
<pre>
This is implemented in `ExprConstant.cpp` and currently directly calls `EvaluateDestruction`, which doesn't take the bytecode interpreter into account.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskUGP2yAQhX8NXNBaeGzs-MAhm9RS723vGCY2LQYLxmnz7ytHWW0PlZB40oN5-t6YUvwcETVT70xdudlpSVnTZNBhznxK7qG_Lb6I46xbwBUjoRM-CtbJL3-2fEmxkIlU2W1jnRQmOmH3nDFSeAjnM9pDWBNCef65m7AbwisWyrslnyLrJIOL-L14uwiXsEQGPQkyv1DQgmJ6ENrkUPhImLeMhPnQSRhr0x6p4k43bmgGw1HXvapVU9cnxRddD13bK4NdfxuGeppOqG6n_gZWDbKfTM29BglK9rKRJ-hAVR3WAw5K9dC2rkfLWomr8aEK4b5WKc_cl7Kjrtvu1AAPZsJQnv0B2GDizJrzLadIGB0DYHD5x_ggOQx15VkfQ9-mfS6slcEXKp8x5Cmgfv9g__rJzpqz-F7wtYQfJl_RBtacWXPG_7bL9xz0QrSV4xWMDMbZ07JPlU0rg_HIfF1vW04_0RKD8clZGIwv1LuGvwEAAP__ThW3zg">