Skip to content

Commit

Permalink
Change to notifyMatchFailure (llvm#1073)
Browse files Browse the repository at this point in the history
emitError is intended for error cases and not match failures of
patterns. notifyMatchFailure is intended where pattern reports reason
for not matching.

Op verification should also not happen inside patterns but as part of
verify/verification, but left ones that were obviously verification to
emitError inside patterns to keep this change small.
  • Loading branch information
jpienaar authored and gpetters94 committed Jul 27, 2022
1 parent 2dce449 commit 10939c4
Showing 1 changed file with 285 additions and 202 deletions.
Loading

0 comments on commit 10939c4

Please sign in to comment.