CBMC
|
#include "optional.h"
Go to the source code of this file.
Functions | |
optionalt< exprt > | zero_initializer (const typet &, const source_locationt &, const namespacet &) |
Create the equivalent of zero for type type . More... | |
optionalt< exprt > | nondet_initializer (const typet &type, const source_locationt &source_location, const namespacet &ns) |
Create a non-deterministic value for type type , with all subtypes independently expanded as non-deterministic values. More... | |
Expression Initialization
Definition in file expr_initializer.h.
optionalt<exprt> nondet_initializer | ( | const typet & | type, |
const source_locationt & | source_location, | ||
const namespacet & | ns | ||
) |
Create a non-deterministic value for type type
, with all subtypes independently expanded as non-deterministic values.
type | Type of the target expression. |
source_location | Location to record in all created sub-expressions. |
ns | Namespace to perform type symbol/tag lookups. |
Definition at line 312 of file expr_initializer.cpp.
optionalt<exprt> zero_initializer | ( | const typet & | type, |
const source_locationt & | source_location, | ||
const namespacet & | ns | ||
) |
Create the equivalent of zero for type type
.
type | Type of the target expression. |
source_location | Location to record in all created sub-expressions. |
ns | Namespace to perform type symbol/tag lookups. |
Definition at line 297 of file expr_initializer.cpp.