|
cprover
|
Base Type Computation. More...
#include "deprecate.h"
Include dependency graph for base_type.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| bool | base_type_eq (const typet &type1, const typet &type2, const namespacet &ns) |
| Check types for equality across all levels of hierarchy. | |
| bool | base_type_eq (const exprt &expr1, const exprt &expr2, const namespacet &ns) |
| Check expressions for equality across all levels of hierarchy. | |
Base Type Computation.
Definition in file base_type.h.
| bool base_type_eq | ( | const exprt & | expr1, |
| const exprt & | expr2, | ||
| const namespacet & | ns | ||
| ) |
Check expressions for equality across all levels of hierarchy.
| expr1 | The first expression to compare. |
| expr2 | The second expression to compare. |
| ns | The namespace, needed for resolution of symbols. |
Definition at line 304 of file base_type.cpp.
| bool base_type_eq | ( | const typet & | type1, |
| const typet & | type2, | ||
| const namespacet & | ns | ||
| ) |
Check types for equality across all levels of hierarchy.
Example:
struct_typet {union_tag_typet("a")} and struct_typet {ns.lookup("a") .type} will compare equal. | type1 | The first type to compare. |
| type2 | The second type to compare. |
| ns | The namespace, needed for resolution of symbols. |
Definition at line 291 of file base_type.cpp.