diff options
author | Bob Duff <duff@adacore.com> | 2019-12-12 10:02:05 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-12-12 10:02:05 +0000 |
commit | d5461bed9a1b19840030d47c5ce9b685cd1206c5 (patch) | |
tree | 6392efe219900665c217c7df3805c9130a0a35ae | |
parent | 605d816615bf239b9ca6627b18b861b0ff12eac0 (diff) | |
download | gcc-d5461bed9a1b19840030d47c5ce9b685cd1206c5.zip gcc-d5461bed9a1b19840030d47c5ce9b685cd1206c5.tar.gz gcc-d5461bed9a1b19840030d47c5ce9b685cd1206c5.tar.bz2 |
[Ada] Update gnatmetric documentation for average lengths
2019-12-12 Bob Duff <duff@adacore.com>
gcc/ada/
* doc/gnat_ugn/gnat_utility_programs.rst: Update gnatmetric
documentation for average lengths
From-SVN: r279282
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index c71233d..57df9a2 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-12-12 Bob Duff <duff@adacore.com> + + * doc/gnat_ugn/gnat_utility_programs.rst: Update gnatmetric + documentation for average lengths + 2019-12-12 Ed Schonberg <schonberg@adacore.com> * sem_ch3.adb (Constrain_Access): Remove obsolete comments and diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst index 56d4869..6e836a7 100644 --- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst +++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst @@ -2022,8 +2022,7 @@ Alternatively, you may run the script using the following command line: and/or format effectors (blank lines) * the average number of code lines in subprogram bodies, task bodies, - entry bodies and statement sequences in package bodies (this metric - is only computed across the whole set of the analyzed units) + entry bodies and statement sequences in package bodies ``gnatmetric`` sums the values of the line metrics for all the files being processed and then generates the cumulative results. The tool @@ -2098,8 +2097,7 @@ Alternatively, you may run the script using the following command line: :switch:`--lines-average` Report the average number of code lines in subprogram bodies, task bodies, - entry bodies and statement sequences in package bodies. The metric is - reported for the whole set of processed Ada sources only. + entry bodies and statement sequences in package bodies. :switch:`--no-lines-average` |