mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
cb58b8a5260de61287bc36f0f97cedcb5b3dc71d
`ExprNode` and its child classes use LLVM-style RTTI. Until now their destruction was not handled properly, causing the constructor-destructor type mismatch warnings on ASAN. Despite this all the code was working properly, but just for luck, because of the fact that these classes are very shallow. This commit fixes the issue, and allow `ExprNode` and its child classes to be extended without worrying about wrong destructors being invoked.
Description
Languages
C++
77.1%
Python
12.6%
MLIR
4.4%
CMake
1.9%
LLVM
1.4%
Other
2.5%