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

core: add PassFailedException #3829

Merged
merged 3 commits into from
Feb 4, 2025
Merged

core: add PassFailedException #3829

merged 3 commits into from
Feb 4, 2025

Conversation

alexarice
Copy link
Collaborator

Adds a PassFailedException as a subclass of DiagnosticException. Can be used to signify the failure of a pass in a way that can be caught by filecheck.

@alexarice alexarice added the core xDSL core (ir, textual format, ...) label Feb 4, 2025
@alexarice alexarice self-assigned this Feb 4, 2025
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.25%. Comparing base (a345d2a) to head (8b328f4).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3829   +/-   ##
=======================================
  Coverage   91.25%   91.25%           
=======================================
  Files         461      461           
  Lines       57627    57629    +2     
  Branches     5567     5567           
=======================================
+ Hits        52588    52590    +2     
  Misses       3612     3612           
  Partials     1427     1427           

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

@alexarice alexarice requested a review from compor February 4, 2025 14:31
Co-authored-by: Chris Vasiladiotis <cvassiladiotis@gmail.com>
@alexarice alexarice merged commit a33bd48 into main Feb 4, 2025
16 checks passed
@alexarice alexarice deleted the alexarice/pass-failed branch February 4, 2025 14:47
oluwatimilehin pushed a commit to oluwatimilehin/xdsl that referenced this pull request Feb 13, 2025
Adds a `PassFailedException` as a subclass of `DiagnosticException`. Can
be used to signify the failure of a pass in a way that can be caught by
filecheck.

---------

Co-authored-by: Chris Vasiladiotis <cvassiladiotis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core xDSL core (ir, textual format, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants