cprover
anonymous_member.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: C Language Type Checking
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_ANSI_C_ANONYMOUS_MEMBER_H
13 #define CPROVER_ANSI_C_ANONYMOUS_MEMBER_H
14 
15 #include <util/expr.h>
16 #include <util/namespace.h>
17 
19  const exprt &struct_union,
20  const irep_idt &component_name,
21  const namespacet &ns);
22 
24  const typet &struct_union_type,
25  const irep_idt &component_name,
26  const namespacet &ns);
27 
28 #endif // CPROVER_ANSI_C_ANONYMOUS_MEMBER_H
dstringt
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition: dstring.h:37
has_component_rec
bool has_component_rec(const typet &struct_union_type, const irep_idt &component_name, const namespacet &ns)
Definition: anonymous_member.cpp:74
typet
The type of an expression, extends irept.
Definition: type.h:29
exprt
Base class for all expressions.
Definition: expr.h:53
namespace.h
expr.h
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition: namespace.h:92
get_component_rec
exprt get_component_rec(const exprt &struct_union, const irep_idt &component_name, const namespacet &ns)
Definition: anonymous_member.cpp:41