cprover
base_type.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Base Type Computation
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_UTIL_BASE_TYPE_H
13 #define CPROVER_UTIL_BASE_TYPE_H
14 
15 class exprt;
16 class typet;
17 class namespacet;
18 
19 bool base_type_eq(
20  const typet &type1,
21  const typet &type2,
22  const namespacet &ns);
23 
24 bool base_type_eq(
25  const exprt &expr1,
26  const exprt &expr2,
27  const namespacet &ns);
28 
29 #endif // CPROVER_UTIL_BASE_TYPE_H
typet
The type of an expression, extends irept.
Definition: type.h:27
exprt
Base class for all expressions.
Definition: expr.h:54
namespacet
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Definition: namespace.h:93
base_type_eq
bool base_type_eq(const typet &type1, const typet &type2, const namespacet &ns)
Check types for equality across all levels of hierarchy.
Definition: base_type.cpp:332