-
Notifications
You must be signed in to change notification settings - Fork 284
introduce code_frontend_declt #6387
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
d9244b7 to
95b9f13
Compare
Codecov Report
@@ Coverage Diff @@
## develop #6387 +/- ##
========================================
Coverage 75.97% 75.98%
========================================
Files 1523 1523
Lines 164191 164209 +18
========================================
+ Hits 124748 124767 +19
+ Misses 39443 39442 -1
Continue to review full report at Codecov.
|
fb4d587 to
c00f641
Compare
peterschrammel
left a comment
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.
What is the next step after this? Is it to remove deprecated uses of code_Xt in goto programs?
|
yes, the goal is to remove the use of codet in goto-programs. |
peterschrammel
left a comment
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.
Would it make sense to keep the name code_declt for the frontend occurrences that will be kept in the end and rename the deprecated uses in goto-program?
|
This is to be consistent with |
This introduces code_fontend_declt, which separates code_declt (for use in goto instructions) and the statement in C programs. The two differ (the variant for goto programs has no initializer), and separating them enables changes.
DECL instructions in goto programs do not offer the option to initialize the symbol that is declared. This removes the methods for that.
c00f641 to
7649e74
Compare
This introduces code_fontend_declt, which separates code_declt (for use in goto instructions) and the statement in C programs.
The two differ (the variant for goto programs has no initializer), and separating them enables changes.