Skip to content

SMV: split type checking out of convert_defines#1623

Merged
tautschnig merged 1 commit intomainfrom
smv-convert_defines
Feb 5, 2026
Merged

SMV: split type checking out of convert_defines#1623
tautschnig merged 1 commit intomainfrom
smv-convert_defines

Conversation

@kroening
Copy link
Copy Markdown
Collaborator

@kroening kroening commented Feb 4, 2026

This splits up the convert_defines method, to separate conversion from type checking.

This splits up the convert_defines method, to separate conversion from type
checking.
@kroening kroening marked this pull request as ready for review February 4, 2026 20:12

void collect_define(const exprt &lhs, const exprt &rhs);
void typecheck_defines();
void typecheck_define(define_mapt::iterator);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For future consideration: I find passing around an iterator pretty opaque and would have preferred passing around two parameters: a (const) key const irep_idt& identifier and a (non-const) definet &d.

@tautschnig tautschnig merged commit 0465755 into main Feb 5, 2026
11 checks passed
@tautschnig tautschnig deleted the smv-convert_defines branch February 5, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants