blob: 50650f3c7a40d9c873046a6d592fb578ddc064a2 [file] [log] [blame]
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- S E M _ S M E M --
-- --
-- S p e c --
-- --
-- Copyright (C) 1998-2018, 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 contains routines involved in processing of shared memory
-- variables, i.e. variables declared in shared passive partitions.
with Types; use Types;
package Sem_Smem is
procedure Check_Shared_Var
(Id : Entity_Id;
T : Entity_Id;
N : Node_Id);
-- This routine checks that the object declaration, N, for identifier,
-- Id, of type, T, is valid, i.e. that it does not violate restrictions
-- on the kind of variables we support in shared passive partitions.
end Sem_Smem;