|
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...
Collaboration diagram for is_compile_time_constantt: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 4694 of file c_typecheck_expr.cpp.
|
inlineexplicit |
Definition at line 4697 of file c_typecheck_expr.cpp.
This function determines what expressions are to be propagated as "constants".
Definition at line 4712 of file c_typecheck_expr.cpp.
this function determines which reference-typed expressions are constant
Definition at line 4744 of file c_typecheck_expr.cpp.
returns true iff the expression can be considered constant
Definition at line 4702 of file c_typecheck_expr.cpp.
|
protected |
Definition at line 4708 of file c_typecheck_expr.cpp.