Message ID | 20171108134631.GA128175@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] Remove spurious warning on useless use-clauses in GNATprove | expand |
Index: sem_ch8.adb =================================================================== --- sem_ch8.adb (revision 254523) +++ sem_ch8.adb (working copy) @@ -9057,6 +9057,7 @@ and then Comes_From_Source (Curr) and then not Is_Effective_Use_Clause (Curr) and then not In_Instance + and then not In_Inlined_Body then -- We are dealing with a potentially unused use_package_clause @@ -9865,6 +9866,7 @@ and then not Spec_Reloaded_For_Body and then not In_Instance + and then not In_Inlined_Body then -- The type already has a use clause