Skip to content

Conversation

@tautschnig
Copy link
Collaborator

No description provided.

@tautschnig
Copy link
Collaborator Author

Factored out from #1987.

return !is_type && !is_macro && type.id()==ID_code;
}

bool is_compiled() const
Copy link
Contributor

Choose a reason for hiding this comment

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

Document what this means here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Documentation (and additional invariants) added.


/// Set the symbol's value to "compiled"; to be used once the code-typed value
/// has been converted to a goto program.
void mark_compiled()
Copy link
Member

Choose a reason for hiding this comment

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

Maybe better set_compiled?

@tautschnig
Copy link
Collaborator Author

Travis is currently failing with what looks like an instance of travis-ci/travis-ci#9361. I'll re-try in the morning.

Magic strings yield a risk of inconsistency, and fail to provide
documentation.
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.

This PR failed Diffblue compatibility checks (cbmc commit: 9082573).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85254753
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.

Common spurious failures:

  • the cbmc commit has disappeared in the mean time (e.g. in a force-push)
  • the author is not in the list of contributors (e.g. first-time contributors).

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: 637b17b).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85259736

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.

5 participants