2019-08-14 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* einfo.adb (Is_Generic_Actual_Subprogram): Replace repeated
calls to Ekind with Ekind_In.
From-SVN: r274445
+2019-08-14 Piotr Trojanek <trojanek@adacore.com>
+
+ * einfo.adb (Is_Generic_Actual_Subprogram): Replace repeated
+ calls to Ekind with Ekind_In.
+
2019-08-13 Richard Sandiford <richard.sandiford@arm.com>
PR middle-end/91421
function Is_Generic_Actual_Subprogram (Id : E) return B is
begin
- pragma Assert (Ekind (Id) = E_Function or else Ekind (Id) = E_Procedure);
+ pragma Assert (Ekind_In (Id, E_Function, E_Procedure));
return Flag274 (Id);
end Is_Generic_Actual_Subprogram;