-
Notifications
You must be signed in to change notification settings - Fork 269
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
ansi_c_parsert: construct with message handler #8141
ansi_c_parsert: construct with message handler #8141
Conversation
d1d421c
to
cf789e9
Compare
cf789e9
to
f0501e4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8141 +/- ##
===========================================
- Coverage 79.65% 79.64% -0.01%
===========================================
Files 1684 1684
Lines 195565 195606 +41
===========================================
+ Hits 155774 155794 +20
- Misses 39791 39812 +21 ☔ View full report in Codecov by Sentry. |
f0501e4
to
98ab25b
Compare
98ab25b
to
1bc179f
Compare
1bc179f
to
57ca4bf
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.
All changes in the contracts wrangler LGTM.
fbf9498
to
e5f6835
Compare
|
||
virtual void clear() override | ||
void clear() override |
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.
❓ Is this function still used anywhere?
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.
I will clean this up across the type hierarchy (removing just this override seems dangerous, as any use of .clear()
would just invoke parsert::clear()
, which would end up in incomplete cleanup) in a follow-up PR.
e5f6835
to
abb26db
Compare
The test will sometimes pass, depending on what model the solver produces. When such a passing model happens to be is produced, it breaks our checking of "KNOWNBUG" tests.
This both avoids an object of static lifetime as well as it fixes the (transitive) use of the deprecated messaget() constructor. The C scanner is now fully reentrant.
abb26db
to
1f240bc
Compare
This both avoids an object of static lifetime as well as it fixes the (transitive) use of the deprecated messaget() constructor.