gcc/ada/
* exp_ch6.adb, exp_disp.adb, sem_ch13.adb, sem_ch3.adb: Fix newly
detected violations.
-- It may be possible that we are re-expanding an already
-- expanded call when are are dealing with dispatching ???
- if not Present (Parameter_Associations (Call_Node))
+ if No (Parameter_Associations (Call_Node))
or else Nkind (Last (Parameter_Associations (Call_Node)))
/= N_Parameter_Association
or else not Is_Accessibility_Actual
then
Target_List := Priv_Decls;
- elsif not Present (Vis_Decls) then
+ elsif No (Vis_Decls) then
Target_List := New_List;
Set_Private_Declarations (Spec, Target_List);
else
if Nkind (N) = N_Aggregate then
if Present (Component_Associations (N))
or else Null_Record_Present (N)
- or else not Present (Expressions (N))
+ or else No (Expressions (N))
then
Error_Msg_N ("bad Stable_Properties aspect specification", N);
return;
Set_Is_Constrained
(Derived_Type,
(Is_Constrained (Parent_Type) or else Constraint_Present)
- and then not Present (Discriminant_Specifications (N)));
+ and then No (Discriminant_Specifications (N)));
if Constraint_Present then
if not Has_Discriminants (Parent_Type) then