CBMC
|
#include <util/expr.h>
Go to the source code of this file.
Functions | |
exprt | lower_enum (exprt expr, const namespacet &ns) |
Function to lower expr and its sub-expressions containing enum types. More... | |
exprt lower_enum | ( | exprt | expr, |
const namespacet & | ns | ||
) |
Function to lower expr
and its sub-expressions containing enum types.
Specifically it replaces the node c_enum_tag_typet
type with the underlying type of the enum the tag points to.
expr | the expression to lower. |
ns | the namespace where to lookup c_enum_tag_type s. |
Definition at line 37 of file enum_encoding.cpp.