OSDN Git Service

* gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Just copy
[pf3gnuchains/gcc-fork.git] / gcc / ada / xref_lib.ads
index bc4c4fa..e0db3fd 100644 (file)
@@ -6,18 +6,17 @@
 --                                                                          --
 --                                 S p e c                                  --
 --                                                                          --
---       Copyright (C) 1998-2002 Free Software Foundation, Inc.             --
+--          Copyright (C) 1998-2008, Free Software Foundation, Inc.         --
 --                                                                          --
 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
 -- terms of the  GNU General Public License as published  by the Free Soft- --
--- ware  Foundation;  either version 2,  or (at your option) any later ver- --
+-- ware  Foundation;  either version 3,  or (at your option) any later ver- --
 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
 -- for  more details.  You should have  received  a copy of the GNU General --
--- Public License  distributed with GNAT;  see file COPYING.  If not, write --
--- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
--- Boston, MA 02110-1301, USA.                                              --
+-- Public License  distributed with GNAT; see file COPYING3.  If not, go to --
+-- http://www.gnu.org/licenses for a complete copy of the license.          --
 --                                                                          --
 -- GNAT was originally developed  by the GNAT team at  New York University. --
 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
@@ -80,11 +79,11 @@ package Xref_Lib is
    -----------------------
 
    procedure Print_Gnatfind
-     (References     : in Boolean;
-      Full_Path_Name : in Boolean);
-   procedure Print_Unused (Full_Path_Name : in Boolean);
-   procedure Print_Vi (Full_Path_Name : in Boolean);
-   procedure Print_Xref (Full_Path_Name : in Boolean);
+     (References     : Boolean;
+      Full_Path_Name : Boolean);
+   procedure Print_Unused (Full_Path_Name : Boolean);
+   procedure Print_Vi     (Full_Path_Name : Boolean);
+   procedure Print_Xref   (Full_Path_Name : Boolean);
    --  The actual print procedures. These functions step through the symbol
    --  table and print all the symbols if they match the files given on the
    --  command line (they already match the entities if they are in the
@@ -94,8 +93,8 @@ package Xref_Lib is
    -- General Algorithms --
    ------------------------
 
-   function Default_Project_File (Dir_Name : in String) return String;
-   --  Returns the default Project file name for the directory Dir_Name.
+   function Default_Project_File (Dir_Name : String) return String;
+   --  Returns the default Project file name for the directory Dir_Name
 
    procedure Search
      (Pattern       : Search_Pattern;
@@ -116,7 +115,7 @@ package Xref_Lib is
    --  If Der_Info is true, then the derived type information will be
    --  processed.
    --
-   --  If Type_Tree is true, then the type hierarchy wil be searched
+   --  If Type_Tree is true, then the type hierarchy will be searched
    --  going from the pattern to the parent type.
 
    procedure Search_Xref
@@ -144,16 +143,16 @@ private
    type Dependencies is new Dependencies_Tables.Instance;
 
    type ALI_File is limited record
-      Buffer         : String_Access := null;
+      Buffer : String_Access := null;
       --  Buffer used to read the whole file at once
 
-      Current_Line   : Positive;
+      Current_Line : Positive;
       --  Start of the current line in Buffer
 
-      Xref_Line      : Positive;
+      Xref_Line : Positive;
       --  Start of the xref lines in Buffer
 
-      X_File         : Xr_Tabls.File_Reference;
+      X_File : Xr_Tabls.File_Reference;
       --  Stores the cross-referencing file-name ("X..." lines), as an
       --  index into the dependencies table
 
@@ -171,10 +170,10 @@ private
       --  line, it is stored as "Entity_Name Declaration_File:line:column"
 
       File_Ref : Xr_Tabls.File_Reference;
-      --  A reference to the source file, if any.
+      --  A reference to the source file, if any
 
       Initialized : Boolean := False;
-      --  Set to True when Entity has been initialized.
+      --  Set to True when Entity has been initialized
    end record;
-   --  Stores all the pattern that are search for.
+
 end Xref_Lib;