]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/ada/sem_prag.adb
ada: Rename Is_Limited_View to reflect actual query
[gcc.git] / gcc / ada / sem_prag.adb
index b9172cd971964fd96b2aae27a517afabc11fae3e..c49cb278c59a8ec03d4144aac7104ae2b8fa74a6 100644 (file)
@@ -24027,7 +24027,7 @@ package body Sem_Prag is
             --  in Freeze_Entity).
 
             if Is_Record_Type (Typ)
-              and then not Is_Limited_View (Typ)
+              and then not Is_Inherently_Limited_Type (Typ)
             then
                Error_Pragma
                  ("pragma% can only apply to explicitly limited record type");
This page took 0.043216 seconds and 5 git commands to generate.