mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 17:24:34 +00:00
compiler/options.m:
Rename --inhibit-accumulator-warnings as --no-warn-accumulator-swaps.
This is better for two reasons: it says explicitly what kinds of warnings
it talks about (swaps of accumulator arguments may lead to slowdowns),
and it allows us to treat the option the same as all the other options
that enable warnings.
Separate out the lists of warning options into two lists: the style
and the non-style warnings, now that all these options are positive
(i.e. they enable options when set).
NEWS:
Mention the rename.
compiler/accumulator.m:
doc/user_guide.texi:
tests/warnings/arg_order_rearrangment.exp:
Conform to the rename.