Go to the documentation of this file.
15 const typet &dest_type)
23 for(
const auto &tc_error : c_typecast.
errors)
27 <<
"conversion from '" <<
to_string(src_type) <<
"' to '"
31 if(!c_typecast.
errors.empty())
34 for(
const auto &tc_warning : c_typecast.
warnings)
49 for(
const auto &tc_error : c_typecast.
errors)
57 if(!c_typecast.
errors.empty())
60 for(
const auto &tc_warning : c_typecast.
warnings)
73 for(
const auto &tc_error : c_typecast.
errors)
79 if(!c_typecast.
errors.empty())
82 for(
const auto &tc_warning : c_typecast.
warnings)
virtual void implicit_typecast_arithmetic(exprt &expr)
The type of an expression, extends irept.
virtual std::string to_string(const exprt &expr)
Base class for all expressions.
typet & type()
Return the type of the expression.
std::list< std::string > warnings
source_locationt source_location
const source_locationt & find_source_location() const
Get a source_locationt from the expression or from its operands (non-recursively).
virtual void implicit_typecast_arithmetic(exprt &expr)
std::list< std::string > errors
virtual void implicit_typecast(exprt &expr, const typet &type)
mstreamt & warning() const
virtual void implicit_typecast(exprt &expr, const typet &type)