Skip to content

Conversation

@tautschnig
Copy link
Collaborator

Remove uninformative temporaries and rename locals.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

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

✔️
Passed Diffblue compatibility checks (cbmc commit: 59318d8).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/90958232

for(const auto &pointer : pointer_set)
if(pointer.type().id()==ID_pointer)
result.insert(dereference_exprt(pointer));
for(const auto &p : pointer_set)
Copy link
Member

@peterschrammel peterschrammel Nov 11, 2018

Choose a reason for hiding this comment

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

I'd have preferred not using undescriptive, one-letter variable names.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for forcing me not to be lazy :-) - I've gone for "alias", and also renamed "pointer_set" to "alias_set."

Remove uninformative temporaries and rename locals.
Copy link
Contributor

@allredj allredj left a comment

Choose a reason for hiding this comment

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

✔️
Passed Diffblue compatibility checks (cbmc commit: df10896).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/90981869

@kroening kroening merged commit 8a6b481 into diffblue:develop Nov 11, 2018
@tautschnig tautschnig deleted the vs-shadow-5 branch November 11, 2018 20:17
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.

7 participants