-
Notifications
You must be signed in to change notification settings - Fork 274
Factor out program_only from bmct #2885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Factor out program_only from bmct #2885
Conversation
b33606f
to
03b49ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Factoring this out is great - but as with show_vcc, I'd also suggest to move it to goto-symex instead (depends on its implementation details).
03b49ae
to
e425337
Compare
@tautschnig, moved. |
src/goto-symex/show_program.h
Outdated
/// Output of the program (SSA) constraints | ||
|
||
#ifndef CPROVER_GOTO_CHECKER_SHOW_PROGRAM_H | ||
#define CPROVER_GOTO_CHECKER_SHOW_PROGRAM_H |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The header guard needs fixing-up.
src/goto-symex/show_program.cpp
Outdated
|
||
std::cout << "\n" << "Program constraints:" << "\n"; | ||
std::cout << "\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're doing some cleanup work here, I'd suggest to replace all occurrences of "\n"
by '\n'
(single character instead of string).
src/goto-symex/show_program.cpp
Outdated
void show_program(const namespacet &ns, const symex_target_equationt &equation) | ||
{ | ||
unsigned count=1; | ||
unsigned count = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be std::size_t
.
e425337
to
a889a16
Compare
Yes, there's quite some cleanup and refactoring in the following PRs. |
Based on #2883
Only review last two commits
Could also be moved to goto-symex