]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/ada/exp_ch6.adb
ada: Rename Is_Limited_View to reflect actual query
[gcc.git] / gcc / ada / exp_ch6.adb
index 1a2a027265c2c9cb1de5dfa622cf70eb23ac4650..d48024026700c9a87e43172970648e2013a30d9d 100644 (file)
@@ -6913,7 +6913,7 @@ package body Exp_Ch6 is
             Set_Enclosing_Sec_Stack_Return (N);
          end if;
 
-      elsif Is_Limited_View (R_Type) then
+      elsif Is_Inherently_Limited_Type (R_Type) then
          null;
 
       --  No copy needed for thunks returning interface type objects since
@@ -8219,7 +8219,7 @@ package body Exp_Ch6 is
       --  of a function with a limited interface result, where the function
       --  may return objects of nonlimited descendants.
 
-      return Is_Limited_View (Typ)
+      return Is_Inherently_Limited_Type (Typ)
         and then Ada_Version >= Ada_2005
         and then not Debug_Flag_Dot_L;
    end Is_Build_In_Place_Result_Type;
This page took 0.028352 seconds and 5 git commands to generate.