Skip to content

value-set-dereference: factor out should_ignore_value #4575

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

Merged

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Apr 26, 2019

Rather than build_reference_to returning a tuple which may indicate a value is ignored,
seperately test whether it ought to be ignored beforehand and then build references to those
values which are not ignored.

@@ -77,16 +84,14 @@ exprt value_set_dereferencet::dereference(const exprt &pointer)
valuet value =
build_reference_to(*it, pointer, exclude_null_derefs, language_mode, ns);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This call needs to be amended as it is one of the reasons of the CI failures (Doxygen and clang-format are also unhappy).

@smowton smowton force-pushed the smowton/cleanup/factor-value-set-deref branch 2 times, most recently from bbf4aac to 0adfa60 Compare April 29, 2019 10:30
Rather than build_reference_to returning a tuple which may indicate a value is ignored,
seperately test whether it ought to be ignored beforehand and then build references to those
values which are not ignored.
@smowton smowton force-pushed the smowton/cleanup/factor-value-set-deref branch from 0adfa60 to 9231d22 Compare April 29, 2019 10:31
@smowton smowton merged commit 44844d8 into diffblue:develop Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants