102 const exprt &as_expr=
103 static_cast<const exprt &
>(
static_cast<const irept &
>(type));
202 const exprt &as_expr=
203 static_cast<const exprt &
>(
static_cast<const irept &
>(type));
205 for(
const auto &op : as_expr.
operands())
253 const exprt &as_expr =
254 static_cast<const exprt &
>(
static_cast<const irept &
>(type));
259 const exprt &as_expr =
260 static_cast<const exprt &
>(
static_cast<const irept &
>(type));
267 const exprt &as_expr =
268 static_cast<const exprt &
>(
static_cast<const irept &
>(type));
275 const exprt &as_expr =
276 static_cast<const exprt &
>(
static_cast<const irept &
>(type));
280 other.push_back(type);
344 log.error() <<
"combining constructor and destructor not supported"
356 log.error() <<
"constructor and destructor required to be type void, "
367 log.error() <<
"constructor and destructor required to be type void, "
382 log.error() <<
"cannot combine integer type with floating-point type"
424 log.error() <<
"cannot combine integer type with floating-point type"
469 log.error() <<
"illegal type modifier for C boolean type"
484 log.error() <<
"illegal type modifier for proper boolean type"
ANSI-C Language Conversion.
floatbv_typet float_type()
signedbv_typet signed_long_int_type()
signedbv_typet signed_char_type()
unsignedbv_typet unsigned_int_type()
unsignedbv_typet unsigned_long_long_int_type()
unsignedbv_typet unsigned_long_int_type()
signedbv_typet signed_int_type()
unsignedbv_typet unsigned_char_type()
bitvector_typet char_type()
signedbv_typet signed_long_long_int_type()
floatbv_typet long_double_type()
floatbv_typet double_type()
signedbv_typet signed_short_int_type()
unsignedbv_typet unsigned_short_int_type()
const code_with_contract_typet & to_code_with_contract_type(const typet &type)
Cast a typet to a code_with_contract_typet.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
virtual void read_rec(const typet &type)
c_storage_spect c_storage_spec
exprt::operandst c_ensures
virtual void write(typet &type)
unsigned gcc_float128x_cnt
unsigned gcc_float32x_cnt
message_handlert & message_handler
virtual void set_attributes(typet &type) const
Add qualifiers and GCC attributes onto type.
unsigned gcc_float64x_cnt
exprt::operandst c_requires
source_locationt source_location
exprt::operandst c_assigns
virtual void build_type_with_subtype(typet &type) const
Build a vector or complex type with type as subtype.
c_qualifierst c_qualifiers
unsigned gcc_float128_cnt
virtual void write(typet &src) const
bool is_transparent_union
Complex numbers made of pair of given subtype.
struct configt::ansi_ct ansi_c
A constant literal expression.
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Base class for all expressions.
const source_locationt & source_location() const
There are a large number of kinds of tree structured or tree-like data in CPROVER.
std::string pretty(unsigned indent=0, unsigned max_indent=0) const
const irept & find(const irep_idt &name) const
const irep_idt & get(const irep_idt &name) const
void set(const irep_idt &name, const irep_idt &value)
const irep_idt & id() const
Class that provides messages with a built-in verbosity 'level'.
The pointer type These are both 'bitvector_typet' (they have a width) and 'type_with_subtypet' (they ...
Type with a single subtype.
The type of an expression, extends irept.
const source_locationt & source_location() const
floatbv_typet gcc_float32_type()
floatbv_typet gcc_float16_type()
floatbv_typet gcc_float64_type()
signedbv_typet gcc_signed_int128_type()
floatbv_typet gcc_float32x_type()
floatbv_typet gcc_float64x_type()
floatbv_typet gcc_float128x_type()
unsignedbv_typet gcc_unsigned_int128_type()
floatbv_typet gcc_float128_type()
#define UNREACHABLE
This should be used to mark dead code.
const unary_exprt & to_unary_expr(const exprt &expr)
Cast an exprt to a unary_exprt.
const code_typet & to_code_type(const typet &type)
Cast a typet to a code_typet.
const string_constantt & to_string_constant(const exprt &expr)
const type_with_subtypest & to_type_with_subtypes(const typet &type)
const type_with_subtypet & to_type_with_subtype(const typet &type)
bool is_signed(const typet &t)
Convenience function – is the type signed?