Go to the documentation of this file.
12 #ifndef CPROVER_CPP_CPP_ENUM_TYPE_H
13 #define CPROVER_CPP_CPP_ENUM_TYPE_H
56 return get_bool(ID_C_tag_only_declaration);
64 assert(irep.
id()==ID_c_enum);
70 assert(irep.
id()==ID_c_enum);
74 #endif // CPROVER_CPP_CPP_ENUM_TYPE_H
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
const cpp_enum_typet & to_cpp_enum_type(const irept &irep)
The type of an expression, extends irept.
const irept & find(const irep_idt &name) const
bool get_tag_only_declaration() const
irep_idt generate_anon_tag() const
const irep_idt & id() const
const irept & body() const
irept & add(const irep_idt &name)
const cpp_namet & tag() const
There are a large number of kinds of tree structured or tree-like data in CPROVER.
bool get_bool(const irep_idt &name) const