Commit db78cb81 by Hristian Kirtchev Committed by Arnaud Charlet

sem_prag.adb, [...]: Minor reformatting.

2017-04-25  Hristian Kirtchev  <kirtchev@adacore.com>

	* sem_prag.adb, sem_prag.ads: Minor reformatting.

From-SVN: r247165
parent 26718854
2017-04-25 Hristian Kirtchev <kirtchev@adacore.com>
* sem_prag.adb, sem_prag.ads: Minor reformatting.
2017-04-25 Ed Schonberg <schonberg@adacore.com> 2017-04-25 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Check_Entry_Contract): Call * sem_ch3.adb (Check_Entry_Contract): Call
......
...@@ -231,12 +231,17 @@ package body Sem_Prag is ...@@ -231,12 +231,17 @@ package body Sem_Prag is
function Find_Related_Context function Find_Related_Context
(Prag : Node_Id; (Prag : Node_Id;
Do_Checks : Boolean := False) return Node_Id; Do_Checks : Boolean := False) return Node_Id;
-- Subsidiaty to the analysis of pragmas Async_Readers, Async_Writers, -- Subsidiary to the analysis of pragmas
-- Constant_After_Elaboration, Effective_Reads, Effective_Writers and -- Async_Readers
-- Part_Of. Find the first source declaration or statement found while -- Async_Writers
-- traversing the previous node chain starting from pragma Prag. If flag -- Constant_After_Elaboration
-- Do_Checks is set, the routine reports duplicate pragmas. The routine -- Effective_Reads
-- returns Empty when reaching the start of the node chain. -- Effective_Writers
-- Part_Of
-- Find the first source declaration or statement found while traversing
-- the previous node chain starting from pragma Prag. If flag Do_Checks is
-- set, the routine reports duplicate pragmas. The routine returns Empty
-- when reaching the start of the node chain.
function Get_Base_Subprogram (Def_Id : Entity_Id) return Entity_Id; function Get_Base_Subprogram (Def_Id : Entity_Id) return Entity_Id;
-- If Def_Id refers to a renamed subprogram, then the base subprogram (the -- If Def_Id refers to a renamed subprogram, then the base subprogram (the
...@@ -357,12 +357,15 @@ package Sem_Prag is ...@@ -357,12 +357,15 @@ package Sem_Prag is
function Find_Related_Package_Or_Body function Find_Related_Package_Or_Body
(Prag : Node_Id; (Prag : Node_Id;
Do_Checks : Boolean := False) return Node_Id; Do_Checks : Boolean := False) return Node_Id;
-- Subsidiary to the analysis of pragmas Abstract_State, Initial_Condition, -- Subsidiary to the analysis of pragmas
-- Initializes and Refined_State. Find the declaration of the related -- Abstract_State
-- package [body] subject to pragma Prag. The return value is either -- Initial_Condition
-- N_Package_Declaration, N_Package_Body or Empty if the placement of -- Initializes
-- the pragma is illegal. If flag Do_Checks is set, the routine reports -- Refined_State
-- duplicate pragmas. -- Find the declaration of the related package [body] subject to pragma
-- Prag. The return value is either N_Package_Declaration, N_Package_Body,
-- or Empty if the placement of the pragma is illegal. If flag Do_Checks is
-- set, the routine reports duplicate pragmas.
function Find_Related_Declaration_Or_Body function Find_Related_Declaration_Or_Body
(Prag : Node_Id; (Prag : Node_Id;
...@@ -372,6 +375,7 @@ package Sem_Prag is ...@@ -372,6 +375,7 @@ package Sem_Prag is
-- Depends -- Depends
-- Extensions_Visible -- Extensions_Visible
-- Global -- Global
-- Max_Queue_Length
-- Post -- Post
-- Post_Class -- Post_Class
-- Postcondition -- Postcondition
...@@ -382,6 +386,7 @@ package Sem_Prag is ...@@ -382,6 +386,7 @@ package Sem_Prag is
-- Refined_Global -- Refined_Global
-- Refined_Post -- Refined_Post
-- Test_Case -- Test_Case
-- Volatile_Function
-- as well as attributes 'Old and 'Result. Find the declaration of the -- as well as attributes 'Old and 'Result. Find the declaration of the
-- related entry, subprogram or task type [body] subject to pragma Prag. -- related entry, subprogram or task type [body] subject to pragma Prag.
-- If flag Do_Checks is set, the routine reports duplicate pragmas and -- If flag Do_Checks is set, the routine reports duplicate pragmas and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment