[gcc r12-6355] [Ada] Update -gnatwr doc for import of parent package

Pierre-Marie de Rodat pmderodat@gcc.gnu.org
Fri Jan 7 16:27:49 GMT 2022


https://gcc.gnu.org/g:b2a99abba9b34f5ce81375f431772d6bd83bb0a0

commit r12-6355-gb2a99abba9b34f5ce81375f431772d6bd83bb0a0
Author: Etienne Servais <servais@adacore.com>
Date:   Tue Dec 14 09:46:19 2021 +0100

    [Ada] Update -gnatwr doc for import of parent package
    
    gcc/ada/
    
            * doc/gnat_ugn/building_executable_programs_with_gnat.rst:
            Update -gnatwr documentation.
            * gnat_ugn.texi: Regenerate.

Diff:
---
 gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst | 2 ++
 gcc/ada/gnat_ugn.texi                                           | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
index 48b7623c1de..97fb3dfb8df 100644
--- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
+++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
@@ -3703,6 +3703,8 @@ of the pragma in the :title:`GNAT_Reference_manual`).
   * Comparison of an object or (unary or binary) operation of boolean type to
     an explicit True value.
 
+  * Import of parent package.
+
   The default is that warnings for redundant constructs are not given.
 
 
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 29737acfe94..b9e57c29a1b 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -11974,6 +11974,9 @@ to be non-negative
 @item 
 Comparison of an object or (unary or binary) operation of boolean type to
 an explicit True value.
+
+@item 
+Import of parent package.
 @end itemize
 
 The default is that warnings for redundant constructs are not given.
@@ -29241,8 +29244,8 @@ to permit their use in free software.
 
 @printindex ge
 
-@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 @anchor{cf}@w{                              }
+@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{                              }
 
 @c %**end of body
 @bye


More information about the Gcc-cvs mailing list