Skip to content

typecheckt::errort #7982

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

Merged
merged 2 commits into from
Nov 1, 2023
Merged

typecheckt::errort #7982

merged 2 commits into from
Nov 1, 2023

Conversation

kroening
Copy link
Member

  • Each commit message has a non-empty body, explaining why the change was made.
  • 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.

This adds typecheckt::errort(), which is a class that designed to be thrown
as exception.  It offers streaming via << and a 'fluent API'-style
.with_location() method to set the source location.
@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Attention: 86 lines in your changes are missing coverage. Please review.

Comparison is base (aed4d77) 78.92% compared to head (b734979) 78.34%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7982      +/-   ##
===========================================
- Coverage    78.92%   78.34%   -0.58%     
===========================================
  Files         1701     1701              
  Lines       196325   196286      -39     
===========================================
- Hits        154942   153778    -1164     
- Misses       41383    42508    +1125     
Files Coverage Δ
src/util/typecheck.cpp 47.61% <100.00%> (-27.39%) ⬇️
src/util/typecheck.h 100.00% <100.00%> (ø)
src/ansi-c/c_typecheck_type.cpp 81.44% <18.86%> (+4.44%) ⬆️

... and 64 files with indirect coverage changes

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

@tautschnig tautschnig merged commit 879e86a into develop Nov 1, 2023
@tautschnig tautschnig deleted the typecheckt-errort branch November 1, 2023 16:21
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.

2 participants