OSDN Git Service

Nathanael Nerode <neroden@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ada / bcheck.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                               B C H E C K                                --
6 --                                                                          --
7 --                                 S p e c                                  --
8 --                                                                          --
9 --                                                                          --
10 --          Copyright (C) 1992-1999 Free Software Foundation, Inc.          --
11 --                                                                          --
12 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
13 -- terms of the  GNU General Public License as published  by the Free Soft- --
14 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
15 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
18 -- for  more details.  You should have  received  a copy of the GNU General --
19 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
20 -- to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, --
21 -- MA 02111-1307, USA.                                                      --
22 --                                                                          --
23 -- GNAT was originally developed  by the GNAT team at  New York University. --
24 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
25 --                                                                          --
26 ------------------------------------------------------------------------------
27
28 package Bcheck is
29
30 --  This package contains the routines to perform binder consistency checks
31
32    procedure Check_Duplicated_Subunits;
33    --  Check that no subunit names duplicate names of other packages in
34    --  the partition (check required by RM 10.2(19)).
35
36    procedure Check_Versions;
37    --  Check correct library and standard versions used
38
39    procedure Check_Consistency;
40    --  This procedure performs checks that the ALI files are consistent
41    --  with the corresponding source files and with one another. At the
42    --  time this is called, the Source table has been completely built and
43    --  contains either the time stamp from the actual source file if the
44    --  Check_Source_Files mode is set, or the latest stamp found in any of
45    --  the ALI files in the program.
46
47    procedure Check_Configuration_Consistency;
48    --  This procedure performs a similar check that configuration pragma
49    --  set items that are required to be consistent are in fact consistent
50
51 end Bcheck;