]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/ada/einfo-utils.ads
ada: Clean up scope depth and related code (tech debt)
[gcc.git] / gcc / ada / einfo-utils.ads
index 20ca470d7acbdc8bea62f25c2c4b0b45de9bd76d..21a8891e4ab3305c8aea6d0c6b107748f879a2bf 100644 (file)
@@ -242,10 +242,10 @@ package Einfo.Utils is
    function Type_Low_Bound (Id : E) return N with Inline;
    function Underlying_Type (Id : E) return Entity_Id;
 
-   function Scope_Depth (Id : E) return U with Inline;
-   function Scope_Depth_Set (Id : E) return B with Inline;
+   function Scope_Depth (Id : Scope_Kind_Id) return U with Inline;
+   function Scope_Depth_Set (Id : Scope_Kind_Id) return B with Inline;
 
-   function Scope_Depth_Default_0 (Id : E) return U;
+   function Scope_Depth_Default_0 (Id : Scope_Kind_Id) return U;
    --  In rare cases, the Scope_Depth_Value (queried by Scope_Depth) is
    --  not correctly set before querying it; this may be used instead of
    --  Scope_Depth in such cases. It returns Uint_0 if the Scope_Depth_Value
This page took 0.026297 seconds and 5 git commands to generate.