-
Notifications
You must be signed in to change notification settings - Fork 273
goto-cc no longer uses language_uit #2980
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
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.
LGTM modulo CI passing
src/goto-cc/compile.cpp
Outdated
@@ -80,8 +81,8 @@ bool compilet::doit() | |||
add_compiler_specific_defines(config); | |||
|
|||
// Parse command line for source and object file names | |||
for(std::size_t i=0; i<_cmdline.args.size(); i++) | |||
if(add_input_file(_cmdline.args[i])) | |||
for(std::size_t i = 0; i < cmdline.args.size(); i++) |
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.
ranged for?
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.
Ok, will throw that in as separate commit.
b514760
to
82c70bb
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.
Passed Diffblue compatibility checks (cbmc commit: 3fd8192).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85174377
@tautschnig, please review so that we can rebase #2434. |
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.
Passed Diffblue compatibility checks (cbmc commit: 82c70bb).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85180022
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.
Passed Diffblue compatibility checks (cbmc commit: 75b5d51).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85181132
src/goto-cc/compile.cpp
Outdated
// we just typecheck one file here | ||
if(language_files.typecheck(symbol_table)) | ||
{ | ||
error() << "CONVERSION ERROR" << eom; |
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.
Doesn't typecheck
also print the "CONVERSION ERROR" message?
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.
No; that's either the language_ui code (getting replaced here) or the two generators of goto_models in goto-programs.
|
||
if((has_suffix(file_name, ".class") || | ||
has_suffix(file_name, ".jar")) && | ||
final()) |
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.
This got silently lost.
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.
Ok, put into separate commit
75b5d51
to
024fc50
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.
This should likely have been 3-4 PRs, but that's probably obvious to everyone involved.
The CI failure appears to be a problem in the most recent version of the Google Cloud SDK. I have filed https://issuetracker.google.com/issues/116076881. |
Will need to be rebased on #2986 has been merged to make CI pass. |
#2986 has been merged, a rebase should make CI pass. |
@tautschnig Yes, agreed, this could have been multiple PRs; the key pain point here is lack of dependency tracking: the commits in this PR are all very dependent. |
024fc50
to
e33fbc8
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.
Passed Diffblue compatibility checks (cbmc commit: e33fbc8).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/85335858
language_uit is getting phased out; goto-cc, as a command-line tool, as never used any of its functionality.