aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj-pp.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2017-09-06 15:21:31 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2017-09-06 15:21:31 +0200
commitc48e0f27232aa6604b80e0d15b6ecb50604400a7 (patch)
treebfddb1ebb7a5ebb47669f302259856ea4f5a805a /gcc/ada/prj-pp.ads
parenta87169db7dc0667a978e3f5b63e0fca648d3b793 (diff)
downloadgcc-c48e0f27232aa6604b80e0d15b6ecb50604400a7.zip
gcc-c48e0f27232aa6604b80e0d15b6ecb50604400a7.tar.gz
gcc-c48e0f27232aa6604b80e0d15b6ecb50604400a7.tar.bz2
[multiple changes]
2017-09-06 Hristian Kirtchev <kirtchev@adacore.com> * sem_ch3.adb, sem_aux.adb, sem_res.adb: Minor reformatting. 2017-09-06 Yannick Moy <moy@adacore.com> * sem_ch12.adb (Analyze_Instance_And_Renamings): Refactor to set global variable Ignore_SPARK_Mode_Pragmas_In_Instance only once. 2017-09-06 Bob Duff <duff@adacore.com> * sem_ch8.adb: Change Assert to be consistent with other similar ones. 2017-09-06 Bob Duff <duff@adacore.com> * binde.adb (Find_Elab_Order): Do not run Elab_Old unless requested. Previously, the -do switch meant "run Elab_New and Elab_Old and use the order chosen by Elab_Old, possibly with debugging printouts comparing the two orders." Now it means "do not run Elab_New." This is of use if there are bugs that cause Elab_New to crash. (Elab_Position, Num_Chosen): Change type to Nat, to avoid various type conversions. * ali.ads (Elab_Position): Change type to Nat, to avoid various type conversions. 2017-09-06 Arnaud Charlet <charlet@adacore.com> * sem_prag.adb (Check_Mode_Restriction_In_Enclosing_Context): Fix reference to SPARK RM. 2017-09-06 Eric Botcazou <ebotcazou@adacore.com> * layout.adb: Use SSU short hand consistently throughout the file. 2017-09-06 Eric Botcazou <ebotcazou@adacore.com> * freeze.adb (Freeze_Record_Type) <Sized_Component_Total_Round_RM_Size>: New local variable to accumulate the rounded RM_Size of components. Update it for every component whose RM_Size is statically known. Add missing guard to check that bit packing is really required before issuing the error about packing. Swap condition for clarity's sake. * sem_prag.adb (Usage_Error): fix reference to SPARK RM in comment 2017-09-06 Fedor Rybin <frybin@adacore.com> * makeutl.adb, makeutl.ads, mlib.adb, mlib.ads, mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb, mlib-tgt.ads, mlib-tgt-specific.adb, mlib-tgt-specific.ads, mlib-tgt-specific-aix.adb, mlib-tgt-specific-darwin.adb, mlib-tgt-specific-hpux.adb, mlib-tgt-specific-linux.adb, mlib-tgt-specific-mingw.adb, mlib-tgt-specific-solaris.adb, mlib-tgt-specific-vxworks.adb, mlib-tgt-specific-xi.adb, mlib-utl.adb, mlib-utl.ads, prj.adb, prj.ads, prj-attr.adb, prj-attr.ads, prj-attr-pm.adb, prj-attr-pm.ads, prj-com.ads, prj-conf.adb, prj-conf.ads, prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads, prj-err.adb, prj-err.ads, prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads, sinput-p.adb, sinput-p.ads: Remove obsolete project manager sources. 2017-09-06 Ed Schonberg <schonberg@adacore.com> * sem_ch5.adb (Analyze_Assigment): If the left-hand side is an entity of a mutable type and the right-hand side is a conditional expression, resolve the alternatives of the conditional using the base type of the target entity, because the alternatives may have distinct subtypes. This is particularly relevant if the alternatives are aggregates. From-SVN: r251797
Diffstat (limited to 'gcc/ada/prj-pp.ads')
-rw-r--r--gcc/ada/prj-pp.ads99
1 files changed, 0 insertions, 99 deletions
diff --git a/gcc/ada/prj-pp.ads b/gcc/ada/prj-pp.ads
deleted file mode 100644
index 771b4c3..0000000
--- a/gcc/ada/prj-pp.ads
+++ /dev/null
@@ -1,99 +0,0 @@
-------------------------------------------------------------------------------
--- --
--- GNAT COMPILER COMPONENTS --
--- --
--- P R J . P P --
--- --
--- S p e c --
--- --
--- Copyright (C) 2001-2011, 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 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 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. --
--- --
-------------------------------------------------------------------------------
-
--- This package is the Project File Pretty Printer
-
--- Used to output a project file from a project file tree.
--- Used by gnatname to update or create project files.
--- Also used GPS to display project file trees.
--- Also be used for debugging tools that create project file trees.
-
-with Prj.Tree;
-
-package Prj.PP is
-
- -- The following access to procedure types are used to redirect output when
- -- calling Pretty_Print.
-
- type Write_Char_Ap is access procedure (C : Character);
-
- type Write_Eol_Ap is access procedure;
-
- type Write_Str_Ap is access procedure (S : String);
-
- subtype Max_Length_Of_Line is Positive range 50 .. 255;
-
- procedure Pretty_Print
- (Project : Prj.Tree.Project_Node_Id;
- In_Tree : Prj.Tree.Project_Node_Tree_Ref;
- Increment : Positive := 3;
- Eliminate_Empty_Case_Constructions : Boolean := False;
- Minimize_Empty_Lines : Boolean := False;
- W_Char : Write_Char_Ap := null;
- W_Eol : Write_Eol_Ap := null;
- W_Str : Write_Str_Ap := null;
- Backward_Compatibility : Boolean;
- Id : Prj.Project_Id := Prj.No_Project;
- Max_Line_Length : Max_Length_Of_Line :=
- Max_Length_Of_Line'Last);
- -- Output a project file, using either the default output routines, or the
- -- ones specified by W_Char, W_Eol and W_Str.
- --
- -- Increment is the number of spaces for each indentation level
- --
- -- W_Char, W_Eol and W_Str can be used to change the default output
- -- procedures. The default values force the output to Standard_Output.
- --
- -- If Eliminate_Empty_Case_Constructions is True, then case constructions
- -- and case items that do not include any declarations will not be output.
- --
- -- If Minimize_Empty_Lines is True, empty lines will be output only after
- -- the last with clause, after the line declaring the project name, after
- -- the last declarative item of the project and before each package
- -- declaration. Otherwise, more empty lines are output.
- --
- -- If Backward_Compatibility is True, then new attributes (Spec,
- -- Spec_Suffix, Body, Body_Suffix) will be replaced by obsolete ones
- -- (Specification, Specification_Suffix, Implementation,
- -- Implementation_Suffix).
- --
- -- Id is used to compute the display name of the project including its
- -- proper casing.
- --
- -- Max_Line_Length is the maximum line length in the project file
-
-private
-
- procedure Output_Statistics;
- -- This procedure can be used after one or more calls to Pretty_Print to
- -- display what Project_Node_Kinds have not been exercised by the call(s)
- -- to Pretty_Print. It is used only for testing purposes.
-
- procedure wpr
- (Project : Prj.Tree.Project_Node_Id;
- In_Tree : Prj.Tree.Project_Node_Tree_Ref);
- -- Wrapper for use from gdb: call Pretty_Print with default parameters
-
-end Prj.PP;