Skip to content

Commit b68902f

Browse files
committed
Add doxygen of smt_convt::write_footer
This is worth explaining because it is no longer clear where the output is written to based on the arguments/usage.
1 parent 1d6d39b commit b68902f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/solvers/smt2/smt2_conv.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,15 @@ class smt2_convt : public stack_decision_proceduret
9696
resultt dec_solve() override;
9797

9898
void write_header();
99+
/// Writes the end of the SMT file to the `smt_convt::out` stream. These parts
100+
/// of the output may be changed when using multiple rounds of solving. They
101+
/// include the following parts of the output file -
102+
/// * The object size definitions.
103+
/// * The assertions based on the `assumptions` member variable.
104+
/// * The `(check-sat)` or `check-sat-assuming` command.
105+
/// * A `(get-value |identifier|)` command for each of the identifiers in
106+
/// `smt2_convt::smt2_identifiers`.
107+
/// * An `(exit)` command.
99108
void write_footer();
100109

101110
// tweaks for arrays

0 commit comments

Comments
 (0)