CBMC
|
Architecturally similar to can_forward_propagatet, but specialized for what is a constexpr, i.e., an expression that can be fully evaluated at compile time. More...
Public Member Functions | |
is_compile_time_constantt (const namespacet &ns) | |
bool | operator() (const exprt &e) const |
returns true iff the expression can be considered constant | |
Protected Member Functions | |
bool | is_constant (const exprt &e) const |
This function determines what expressions are to be propagated as "constants". | |
bool | is_constant_address_of (const exprt &e) const |
this function determines which reference-typed expressions are constant | |
Protected Attributes | |
const namespacet & | ns |
Architecturally similar to can_forward_propagatet, but specialized for what is a constexpr, i.e., an expression that can be fully evaluated at compile time.
Definition at line 4656 of file c_typecheck_expr.cpp.
|
inlineexplicit |
Definition at line 4659 of file c_typecheck_expr.cpp.
This function determines what expressions are to be propagated as "constants".
Definition at line 4674 of file c_typecheck_expr.cpp.
this function determines which reference-typed expressions are constant
Definition at line 4706 of file c_typecheck_expr.cpp.
returns true iff the expression can be considered constant
Definition at line 4664 of file c_typecheck_expr.cpp.
|
protected |
Definition at line 4670 of file c_typecheck_expr.cpp.