[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:
Bob Duff 2020-02-26 09:51:56 -05:00 committed by Pierre-Marie de Rodat
parent 881d7a9f46
commit 05cb816ba5

View File

@ -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)