|
ESBMC
Efficient SMT-based Context-Bounded Model Checker
|
Implementation of Solidity type casting utilities. More...
#include <solidity-frontend/typecast.h>#include <util/lang/c_typecast.h>#include <util/lang/c_types.h>#include <stdexcept>#include <sstream>Functions | |
| void | solidity_gen_typecast (const namespacet &ns, exprt &dest, const typet &type) |
Implementation of Solidity type casting utilities.
Wraps ESBMC's c_typecastt to perform implicit type conversions for Solidity expressions, ensuring operands are cast to compatible types before arithmetic, comparison, and assignment operations.
| void solidity_gen_typecast | ( | const namespacet & | ns, |
| exprt & | dest, | ||
| const typet & | type ) |