Go to the documentation of this file.
32 if(t.
id() == ID_typedef_type || t.
id() == ID_symbol)
44 else if(t.
id()==ID_abstract)
49 else if(t.
id()==ID_merged_type)
53 p = &merged_type.last_type();
69 out <<
" is_enum_constant";
73 out <<
" is_parameter";
77 out <<
" is_register";
79 out <<
" is_thread_local";
85 out <<
" is_static_assert";
103 if(p->
id()==ID_frontend_pointer || p->
id()==ID_array ||
104 p->
id()==ID_vector || p->
id()==ID_c_bit_field ||
105 p->
id()==ID_block_pointer || p->
id()==ID_code)
109 else if(p->
id()==ID_merged_type)
113 p = &merged_type.last_type();
#define UNREACHABLE
This should be used to mark dead code.
bool get_is_thread_local() const
const declaratorst & declarators() const
bool get_is_typedef() const
The type of an expression, extends irept.
bool get_is_static() const
std::string pretty(unsigned indent=0, unsigned max_indent=0) const
typet type
Type of symbol.
irep_idt base_name
Base (non-scoped) name.
struct configt::ansi_ct ansi_c
const ansi_c_declaratort & declarator() const
bool get_is_static_assert() const
void set_base_name(const irep_idt &base_name)
irep_idt get_name() const
const irep_idt & get(const irep_idt &name) const
irep_idt pretty_name
Language-specific display name.
const merged_typet & to_merged_type(const typet &type)
conversion to merged_typet
typet & type()
Return the type of the expression.
const code_typet & to_code_type(const typet &type)
Cast a typet to a code_typet.
bool get_is_parameter() const
irep_idt get_base_name() const
void set(const irep_idt &name, const irep_idt &value)
const source_locationt & source_location() const
void set_inlined(bool value)
void to_symbol(const ansi_c_declaratort &, symbolt &symbol) const
bool get_is_register() const
bool get_is_enum_constant() const
const irep_idt & id() const
void clear()
Zero initialise a symbol object.
exprt value
Initial value of symbol.
bool get_is_global() const
bool get_is_extern() const
source_locationt location
Source code location of definition of symbol.
void output(std::ostream &) const
typet full_type(const ansi_c_declaratort &) const
There are a large number of kinds of tree structured or tree-like data in CPROVER.
source_locationt & add_source_location()
const source_locationt & source_location() const
irep_idt name
The unique identifier.
bool get_is_inline() const