[Ada] gnatpp: documentation for --no-separate-return switch
2020-06-09 Bob Duff <duff@adacore.com> gcc/ada/ * doc/gnat_ugn/gnat_utility_programs.rst: Add documentation for the --no-separate-return switch of gnatpp.
This commit is contained in:
parent
881d7a9f46
commit
05cb816ba5
@ -3245,6 +3245,14 @@ Alternatively, you may run the script using the following command line:
|
||||
Do not place the keyword ``is`` on a separate line in a subprogram body in
|
||||
case if the spec occupies more than one line.
|
||||
|
||||
.. index:: --no-separate-return (gnatpp)
|
||||
|
||||
|
||||
:switch:`--no-separate-return`
|
||||
In :switch:`--no-compact` mode, if a subprogram spec does not fit on
|
||||
one line, try to place the ``return`` on the same line as the last
|
||||
formal parameter.
|
||||
|
||||
.. index:: --separate-loop (gnatpp)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user