OSDN Git Service

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