diff options
author | Bob Duff <duff@adacore.com> | 2020-02-26 09:51:56 -0500 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-09 04:09:01 -0400 |
commit | 05cb816ba5a1b4ab00df26699829483d7c1d156c (patch) | |
tree | a5ca33c2c56fccb26581edc80c6301ac2c6e94d8 /gcc/ada/doc | |
parent | 881d7a9f46d7cd3d47fb96671454db4aa5ec630a (diff) | |
download | gcc-05cb816ba5a1b4ab00df26699829483d7c1d156c.zip gcc-05cb816ba5a1b4ab00df26699829483d7c1d156c.tar.gz gcc-05cb816ba5a1b4ab00df26699829483d7c1d156c.tar.bz2 |
[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.
Diffstat (limited to 'gcc/ada/doc')
-rw-r--r-- | gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst index 2214415..11de52e 100644 --- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst +++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst @@ -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) |