Code cleanup; semantics is unaffected.
gcc/ada/ChangeLog:
* diagnostics-pretty_emitter.adb (Get_Last_Line_Char): Fix whitespace.
* sem_aggr.adb (Resolve_Array_Aggregate): Fix style.
is
Cur_Loc : Source_Ptr := Get_Line_End (Buf, Loc);
begin
-
while Cur_Loc > Buf'First
and then Buf (Cur_Loc) in ASCII.LF | ASCII.CR
loop
Scope_Parent : Node_Id;
begin
if Nkind (Exp) /= N_Identifier
- or else not Present (Entity (Exp))
- or else not Present (Scope (Entity (Exp)))
+ or else No (Entity (Exp))
+ or else No (Scope (Entity (Exp)))
or else Ekind (Scope (Entity (Exp))) /= E_Loop
then
return OK;