Skip to content

Conversation

@hannes-steffenhagen-diffblue
Copy link
Contributor

Note that this is done through a wrapper to easily allow switching between different ways to represent an irep, here it's done with pretty(), but depending on the irep other representations (such as from_expr) or a combination of different representations may be desirable.

struct irep_pretty_diagnosticst
{
const irept &irep;
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have a constructor that takes const irept &irep?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@danpoe danpoe left a comment

Choose a reason for hiding this comment

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

LGTM

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: 969825c).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84317430
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).

: irep(irep)
{
}

Copy link
Member

Choose a reason for hiding this comment

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

remove blank line

Invariant check failed
value: 00000000000000000000000000001000
value: 00000000000000000000000000001101

Copy link
Member

Choose a reason for hiding this comment

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

remove blank line

DiagnosticA{},
DiagnosticB{});
else if(arg == "invariant-with-irep-diagnostics")
INVARIANT_WITH_DIAGNOSTICS(
Copy link
Member

Choose a reason for hiding this comment

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

put multi-line statement inside braces.

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: 3a59bd6).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84330448
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: 1ba1da2).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84331624

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: 1ba1da2).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84412314
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.

This PR failed Diffblue compatibility checks (cbmc commit: 1ba1da2).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/84412314
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).

@hannes-steffenhagen-diffblue
Copy link
Contributor Author

Merging despite compatibility check as per in-person communication with @thk123

@hannes-steffenhagen-diffblue hannes-steffenhagen-diffblue merged commit 4cd1ae5 into diffblue:develop Sep 11, 2018
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