-
Notifications
You must be signed in to change notification settings - Fork 273
Add and use symbolt constructors #6591
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
Conversation
6d5f793
to
8646cc1
Compare
Codecov ReportBase: 78.38% // Head: 78.32% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #6591 +/- ##
===========================================
- Coverage 78.38% 78.32% -0.06%
===========================================
Files 1647 1645 -2
Lines 190362 189922 -440
===========================================
- Hits 149213 148760 -453
- Misses 41149 41162 +13
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
fbaf6ac
to
b86362d
Compare
To reviewers (multiple required): please review commit-by-commit, possibly choosing only those parts of the code that you actually care about (the parts can be inferred from the commit messages). |
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.
Whilst I'm not usually a massive fan of wide changes for the sake of them, I'm very happy to see this change - especially the dropping of lots of ...is_type=false
:-)
Might be worth a quick sanity check with @martin-cs that this doesn't clash with anything urgent he may be working on - especially around gnat2goto and related projects.
@@ -446,14 +446,10 @@ void java_bytecode_convert_classt::convert( | |||
}(id2string(c.name)); | |||
|
|||
// produce class symbol | |||
symbolt new_symbol; | |||
class_type.set_name(qualified_classname); | |||
type_symbolt new_symbol{qualified_classname, class_type, ID_java}; |
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.
👍
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.
Approving changes to code contracts. LGTM.
b86362d
to
25c99ad
Compare
9a33916
to
24e97f1
Compare
24e97f1
to
f7e0917
Compare
2c89546
to
508335e
Compare
508335e
to
5ac94dd
Compare
5ac94dd
to
223a764
Compare
|
223a764
to
50deb2e
Compare
ddbc0fb
to
dc3abbe
Compare
dc3abbe
to
4fa5735
Compare
4fa5735
to
60eaaad
Compare
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set. Constructors are now consistent in what they do, and do not set the base_name in addition to the name.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
To the extent possible, apply resource-acquisition-is-initialisation. The constructors ensure that at least the most essential fields (name, type, mode) are set.
60eaaad
to
6ac16bf
Compare
To the extent possible, apply resource-acquisition-is-initialisation.
The constructors ensure that at least the most essential fields (name,
type, mode) are set.