-
Notifications
You must be signed in to change notification settings - Fork 274
Enable usage of --show-symbol-table
where the symbol table contains unrecognised modes.
#6303
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
So that the reader can more easily see that each of the functions in this file get the language in the same way and so that any future changes to this functionality only need to be made in one place.
To confirm that the fix from the previous "use default language" commit is worked as expected.
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.
Looks good and tested with random and complex language names locally.
Codecov Report
@@ Coverage Diff @@
## develop #6303 +/- ##
========================================
Coverage 75.98% 75.98%
========================================
Files 1510 1510
Lines 163465 163460 -5
========================================
Hits 124208 124208
+ Misses 39257 39252 -5
Continue to review full report at Codecov.
|
@@ -24,6 +24,17 @@ Author: Daniel Kroening, [email protected] | |||
|
|||
#include "goto_model.h" | |||
|
|||
/// \brief Gets the language which should be used for showing the type and value | |||
/// of the supplied \p symbol. | |||
static std::unique_ptr<languaget> |
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.
Document the behaviour in the case of unknown or empty modes.
Because the behaviour could be surprising if the reader is not familiar with the intended behaviour.
Enables usage of
--show-symbol-table
where the symbol table contains unrecognised modes. Relates to #6219