-- visible a private entity in the body of the main unit,
-- that gigi will see before its sees its proper definition.
- elsif not (In_Extended_Main_Code_Unit (Call_Node))
+ elsif not In_Extended_Main_Code_Unit (Call_Node)
and then In_Package_Body
then
Must_Inline := not In_Extended_Main_Source_Unit (Subp);
if Front_End_Inlining
and then Nkind (Spec) = N_Subprogram_Declaration
- and then (In_Extended_Main_Code_Unit (Call_Node))
+ and then In_Extended_Main_Code_Unit (Call_Node)
and then No (Body_To_Inline (Spec))
and then not Has_Completion (Subp)
and then In_Same_Extended_Unit (Sloc (Spec), Loc)
and then not Is_Dispatching_Operation (Subp)
and then Needs_Finalization (Etype (Subp))
and then not Is_Class_Wide_Type (Etype (Subp))
- and then not (Has_Invariants (Etype (Subp)))
+ and then not Has_Invariants (Etype (Subp))
and then Present (Subprogram_Body (Subp))
and then Was_Expression_Function (Subprogram_Body (Subp))
then