gcc/ada/
* sem_util.ads (Is_Actual_Parameter): Update comment.
* sem_util.adb (Is_Actual_Parameter): Also detect entry parameters.
when N_Parameter_Association =>
return N = Explicit_Actual_Parameter (Parent (N));
- when N_Subprogram_Call =>
+ when N_Entry_Call_Statement
+ | N_Subprogram_Call
+ =>
return Is_List_Member (N)
and then
List_Containing (N) = Parameter_Associations (Parent (N));
-- subprogram call.
function Is_Actual_Parameter (N : Node_Id) return Boolean;
- -- Determines if N is an actual parameter in a subprogram call
+ -- Determines if N is an actual parameter in a subprogram or entry call
function Is_Actual_Tagged_Parameter (N : Node_Id) return Boolean;
-- Determines if N is an actual parameter of a formal of tagged type in a