Skip to content
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

C front-end: place requires and ensures in designated scope #8380

Merged
merged 1 commit into from
Jul 20, 2024

Conversation

tautschnig
Copy link
Collaborator

These contract clauses may introduce new symbols, which must not conflict with ones declared in the body of the function.

Fixes: #8337

  • 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.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • 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.

These contract clauses may introduce new symbols, which must not
conflict with ones declared in the body of the function.

Fixes: diffblue#8337
@tautschnig tautschnig force-pushed the bugfixes/contract-scope-8337 branch from 27e4147 to f008664 Compare July 12, 2024 14:18
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 1 line in your changes missing coverage. Please review.

Project coverage is 78.29%. Comparing base (3dcc1c7) to head (f008664).

Files Patch % Lines
src/ansi-c/parser.y 88.88% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8380      +/-   ##
===========================================
- Coverage    78.32%   78.29%   -0.04%     
===========================================
  Files         1726     1726              
  Lines       188494   188583      +89     
  Branches     18249    18249              
===========================================
+ Hits        147647   147656       +9     
- Misses       40847    40927      +80     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kroening kroening assigned tautschnig and unassigned kroening Jul 20, 2024
@kroening kroening merged commit 51b157f into diffblue:develop Jul 20, 2024
38 of 40 checks passed
@tautschnig tautschnig deleted the bugfixes/contract-scope-8337 branch July 20, 2024 13:11
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.

CBMC-6.0.0 fails if local variable name overloads name of quantified variable in contract
2 participants