Skip to content

fix constructor of string_builtin_functiont #4744

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

Closed
wants to merge 1 commit into from

Conversation

kroening
Copy link
Member

@kroening kroening commented Jun 2, 2019

The default constructor cannot exist; marking it as delete re-enables
compilation with clang.

  • Each commit message has a non-empty body, explaining why the change was made.
  • na Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • n/a 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: 5f94d92).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/114010088

@codecov-io
Copy link

codecov-io commented Jun 2, 2019

Codecov Report

❗ No coverage uploaded for pull request base (develop@d8598f8). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #4744   +/-   ##
==========================================
  Coverage           ?   68.44%           
==========================================
  Files              ?     1270           
  Lines              ?   104828           
  Branches           ?        0           
==========================================
  Hits               ?    71753           
  Misses             ?    33075           
  Partials           ?        0
Impacted Files Coverage Δ
src/solvers/strings/string_builtin_function.h 72.63% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8598f8...ef1737b. Read the comment docs.

Copy link
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

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

It’s still not clear to me why those aren’t caught in CI. We need to fix this while we still have a known-bad state.

@kroening
Copy link
Member Author

kroening commented Jun 4, 2019

I have looked into this.

clang-8 is stricter than clang-7 (but correctly so).

To catch these, we could switch the existing clang-7 build to clang-8. That will add a bit to the build time, and add some risk of that build failing, since the clang-8 binaries would need to be downloaded from apt.llvm.org

kroening pushed a commit that referenced this pull request Jun 4, 2019
This is to catch problems as in #4744.
@tautschnig
Copy link
Collaborator

I am a bit worried, because #4746 appears to be passing even though this PR hasn't been merged.

The default constructor cannot exist; marking it as 'delete' re-enables
compilation with clang.
@kroening kroening force-pushed the string_builtin_functiont branch from 5f94d92 to ef1737b Compare June 4, 2019 12:17
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: ef1737b).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/114260970

kroening pushed a commit that referenced this pull request Jun 5, 2019
This is to catch problems as in #4744.
kroening pushed a commit that referenced this pull request Jun 5, 2019
This is to catch problems as in #4744.
kroening pushed a commit that referenced this pull request Jun 5, 2019
This is to catch problems as in #4744.
peterschrammel pushed a commit that referenced this pull request Jun 5, 2019
This is to catch problems as in #4744.
@tautschnig
Copy link
Collaborator

I believe this has actually been merged as part of #4746 @kroening @peterschrammel ?! If so, please close this one.

@peterschrammel
Copy link
Member

yes, has been merged.

@peterschrammel peterschrammel deleted the string_builtin_functiont branch June 7, 2019 10:31
angelhof pushed a commit to angelhof/cbmc that referenced this pull request Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants