File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
src/solvers/smt2_incremental Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 4040struct decision_procedure_objectt
4141{
4242 // / The expression for the root of the object. This is expression equivalent
43- // / to deferencing a pointer to this object with a zero offset.
43+ // / to dereferencing a pointer to this object with a zero offset.
4444 exprt base_expression;
4545 // / Number which uniquely identifies this particular object.
4646 std::size_t unique_id = 0 ;
@@ -57,7 +57,7 @@ struct decision_procedure_objectt
5757// / assigned.
5858exprt find_object_base_expression (const address_of_exprt &address_of);
5959
60- // / Arbitary expressions passed to the decision procedure may have multiple
60+ // / Arbitrary expressions passed to the decision procedure may have multiple
6161// / address of operations as its sub expressions. This means the overall
6262// / expression may contain multiple base objects which need to be assigned
6363// / unique identifiers.
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ static smt_responset get_response_to_command(
4040 return response;
4141}
4242
43+ // / Returns a message string describing the problem in the case where the
44+ // / response from the solver is an error status. Returns empty otherwise.
4345static optionalt<std::string>
4446get_problem_messages (const smt_responset &response)
4547{
Original file line number Diff line number Diff line change @@ -94,6 +94,9 @@ class smt2_incremental_decision_proceduret final
9494 // / \brief Defines any functions which \p expr depends on, which have not yet
9595 // / been defined, along with their dependencies in turn.
9696 void define_dependent_functions (const exprt &expr);
97+ // / If a function has not been defined for handling \p expr, then a new
98+ // / function is defined. If the corresponding function exists already, then
99+ // / no action is taken.
97100 void ensure_handle_for_expr_defined (const exprt &expr);
98101 // / \brief Add objects in \p expr to object_map if needed and convert to smt.
99102 // / \note This function is non-const because it mutates the object_map.
You can’t perform that action at this time.
0 commit comments