[clang][Interp] Call dtor of Floating values
authorTimm Bäder <tbaeder@redhat.com>
Tue, 11 Jul 2023 07:47:03 +0000 (09:47 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Thu, 20 Jul 2023 13:27:16 +0000 (15:27 +0200)
commitaf67614f79059686399e2808c80658af783f48d3
tree950d328ca165e2234d0fc549d3c897b1a6aeffb6
parentf8a36d8c3e264c4fccf8058e699201a452ea7bb7
[clang][Interp] Call dtor of Floating values

The APFloat might heap-allocate some memory, so we need to call its
destructor.

Differential Revision: https://reviews.llvm.org/D154928
clang/lib/AST/Interp/Descriptor.cpp
clang/test/AST/Interp/floats.cpp