-
Notifications
You must be signed in to change notification settings - Fork 274
Do not use invalid_source_file_exceptiont without source location #5835
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
Do not use invalid_source_file_exceptiont without source location #5835
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #5835 +/- ##
========================================
Coverage 76.73% 76.73%
========================================
Files 1579 1579
Lines 181999 181995 -4
========================================
- Hits 139652 139650 -2
+ Misses 42347 42345 -2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable.
bcd1e5d
to
6c6304f
Compare
6c6304f
to
79d8a8b
Compare
79d8a8b
to
81a46ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - thats a nice cleanup improvement. As an aside, I can't help thinking an additional intermediate class in the exception hierarchy - something like a cprover_exception_with_descriptiont
to cover what appears to be the very common pattern of "exception is constructed from a std::string argument, and what() just returns that string" might make exception_utils.{h,cpp}
somewhat more succinct... one for another day though!
81a46ae
to
ada2a90
Compare
Good call! I'm about to add a commit to #5837 to sort this out. I did, however, opt to make |
... and now also made this a PR of its own in #6608. |
ada2a90
to
55e69f8
Compare
You're too good to us... :-) |
55e69f8
to
5ed1623
Compare
In preparation of tying invalid_source_file_exceptiont to an actual source location, introduce an exception that is thrown when some invalid input is encountered, but a precise source location is not known at the time of throwing the exception.
5ed1623
to
d63c7f0
Compare
In preparation of tying invalid_source_file_exceptiont to an actual
source location, introduce an exception that is thrown when some invalid
input is encountered, but a precise source location is not known at the
time of throwing the exception.