From 49d0d5fc6f893804061894202596933e0c396705 Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Wed, 3 Jul 2019 08:16:34 +0000 Subject: [PATCH] [Ada] Document new flags in GNATpp 2019-07-03 Bob Duff gcc/ada/ * doc/gnat_ugn/gnat_utility_programs.rst: Document new flags in GNATpp. From-SVN: r272988 --- gcc/ada/ChangeLog | 5 ++++ gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst | 37 ++++++++++++++++++++++---- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 8a774fd..c28a942 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-07-03 Bob Duff + + * doc/gnat_ugn/gnat_utility_programs.rst: Document new flags in + GNATpp. + 2019-07-03 Hristian Kirtchev * binde.adb: Remove with clause for System.OS_Lib. diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst index e4eff72..53904b1 100644 --- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst +++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst @@ -3181,20 +3181,47 @@ 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:: --separate-loop (gnatpp) + + + :switch:`--separate-loop` + Place the keyword ``loop`` in FOR and WHILE loop statements + on a separate line. + + .. index:: --no-separate-then (gnatpp) + + + :switch:`--separate-then` + Place the keyword ``then`` in IF statements + on a separate line. + + .. index:: --no-separate-loop (gnatpp) + + + :switch:`--no-separate-loop` + Do not place the keyword ``loop`` in FOR and WHILE loop statements + on a separate line. This option is + incompatible with the :switch:`--separate-loop` option. + + .. index:: --no-separate-then (gnatpp) + + + :switch:`--no-separate-then` + Do not place the keyword ``then`` in IF statements + on a separate line. This option is + incompatible with the :switch:`--separate-then` option. + .. index:: --separate-loop-then (gnatpp) :switch:`--separate-loop-then` - Place the keyword ``loop`` in FOR and WHILE loop statements and the - keyword ``then`` in IF statements on a separate line. + Equivalent to :switch:`--separate-loop` :switch:`--separate-then`. .. index:: --no-separate-loop-then (gnatpp) :switch:`--no-separate-loop-then` - Do not place the keyword ``loop`` in FOR and WHILE loop statements and the - keyword ``then`` in IF statements on a separate line. This option is - incompatible with the :switch:`--separate-loop-then` option. + Equivalent to :switch:`--no-separate-loop` :switch:`--no-separate-then`. .. index:: --use-on-new-line (gnatpp) -- 2.7.4