Skip to content

Conversation

@tautschnig
Copy link
Collaborator

Use local messaget instances instead as there is no is-a relationship
between goto_cc_modet (nor any class deriving from it) and messaget.

  • Each commit message has a non-empty body, explaining why the change was made.
  • n/a Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@codecov
Copy link

codecov bot commented Nov 19, 2020

Codecov Report

Merging #5618 (d40c7e2) into develop (f2d735a) will decrease coverage by 0.00%.
The diff coverage is 30.26%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #5618      +/-   ##
===========================================
- Coverage    69.32%   69.32%   -0.01%     
===========================================
  Files         1241     1241              
  Lines       100443   100450       +7     
===========================================
+ Hits         69636    69638       +2     
- Misses       30807    30812       +5     
Flag Coverage Δ
cproversmt2 43.08% <ø> (ø)
regression 66.22% <30.26%> (-0.01%) ⬇️
unit 32.27% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/goto-cc/armcc_mode.cpp 0.00% <0.00%> (ø)
src/goto-cc/as_mode.cpp 0.00% <0.00%> (ø)
src/goto-cc/cw_mode.cpp 0.00% <0.00%> (ø)
src/goto-cc/ms_cl_mode.cpp 0.00% <0.00%> (ø)
src/goto-cc/ms_link_mode.cpp 0.00% <0.00%> (ø)
src/goto-cc/goto_cc_mode.cpp 23.52% <20.00%> (-3.14%) ⬇️
src/goto-cc/ld_mode.cpp 54.41% <50.00%> (+0.68%) ⬆️
src/goto-cc/gcc_mode.cpp 68.29% <58.62%> (+0.67%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2d735a...d40c7e2. Read the comment docs.

Use local messaget instances instead as there is no is-a relationship
between goto_cc_modet (nor any class deriving from it) and messaget.
@tautschnig tautschnig force-pushed the messaget-goto_cc_mode branch from 6281309 to d40c7e2 Compare November 19, 2020 14:52
eval_verbosity(
messaget::eval_verbosity(
cmdline.get_value("verbosity"), messaget::M_ERROR, gcc_message_handler);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that do anything?

eval_verbosity(
messaget::eval_verbosity(
cmdline.get_value("verbosity"), messaget::M_ERROR, message_handler);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had wondered as well, but yes, it does: the message_handler argument will have its verbosity set. We might want to change this interface though as that makes two people who were surprised by this code...

@kroening kroening merged commit 6f78426 into diffblue:develop Dec 18, 2020
@tautschnig tautschnig deleted the messaget-goto_cc_mode branch December 18, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants