summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-15 09:34:36 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-15 09:34:36 +0000
commit0fab56f28d541967e82df4879a635a74fc942979 (patch)
tree71ce7a8c7f11888da70d2c0ed33d5b8c5d758e4d /gcc
parenta58fd09712d0254f960331d84da75fad098b2561 (diff)
downloadgcc-0fab56f28d541967e82df4879a635a74fc942979.tar.gz
2006-02-13 Robert Dewar <dewar@adacore.com>
* rtsfind.adb, exp_prag.adb, lib-writ.adb, par-labl.adb, sem_case.adb: Minor code reorganization (not Present should be No) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111042 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/exp_prag.adb4
-rw-r--r--gcc/ada/lib-writ.adb4
-rw-r--r--gcc/ada/par-labl.adb4
-rw-r--r--gcc/ada/rtsfind.adb6
-rw-r--r--gcc/ada/sem_case.adb4
5 files changed, 11 insertions, 11 deletions
diff --git a/gcc/ada/exp_prag.adb b/gcc/ada/exp_prag.adb
index 8c9bf59b340..032e7a48149 100644
--- a/gcc/ada/exp_prag.adb
+++ b/gcc/ada/exp_prag.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -630,7 +630,7 @@ package body Exp_Prag is
Analyze (Call);
end if;
- if not Present (Interface_Name (Id)) then
+ if No (Interface_Name (Id)) then
Set_Interface_Name (Id,
Make_String_Literal
(Sloc => Loc,
diff --git a/gcc/ada/lib-writ.adb b/gcc/ada/lib-writ.adb
index e8065b46aad..524c1c66714 100644
--- a/gcc/ada/lib-writ.adb
+++ b/gcc/ada/lib-writ.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -850,7 +850,7 @@ package body Lib.Writ is
S := Specification (U);
- if not Present (Parameter_Specifications (S)) then
+ if No (Parameter_Specifications (S)) then
if Nkind (S) = N_Procedure_Specification then
Write_Info_Initiate ('M');
Write_Info_Str (" P");
diff --git a/gcc/ada/par-labl.adb b/gcc/ada/par-labl.adb
index a908c8116e3..7147c36040a 100644
--- a/gcc/ada/par-labl.adb
+++ b/gcc/ada/par-labl.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -521,7 +521,7 @@ begin
-- Now attach the implicit label declaration to the appropriate
-- declarative region, creating a declaration list if none exists
- if not Present (Declarations (Enclosing_Body_Or_Block)) then
+ if No (Declarations (Enclosing_Body_Or_Block)) then
Set_Declarations (Enclosing_Body_Or_Block, New_List);
end if;
diff --git a/gcc/ada/rtsfind.adb b/gcc/ada/rtsfind.adb
index f2dd0393b35..892a5b4468e 100644
--- a/gcc/ada/rtsfind.adb
+++ b/gcc/ada/rtsfind.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -799,7 +799,7 @@ package body Rtsfind is
-- specially permitted units, raise the exception.
if No_Run_Time_Mode
- and then not OK_No_Run_Time_Unit (U_Id)
+ and then not OK_No_Run_Time_Unit (U_Id)
then
Entity_Not_Defined (E);
raise RE_Not_Available;
@@ -1105,7 +1105,7 @@ package body Rtsfind is
begin
-- If entry is not set, set it now
- if not Present (U.Entity) then
+ if No (U.Entity) then
U.Entity := E;
U.Uname := Get_Unit_Name (U_Id);
U.Unum := Unum;
diff --git a/gcc/ada/sem_case.adb b/gcc/ada/sem_case.adb
index 25a2f704a15..b6523dab212 100644
--- a/gcc/ada/sem_case.adb
+++ b/gcc/ada/sem_case.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1996-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 1996-2006, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -904,7 +904,7 @@ package body Sem_Case is
Count : Nat := 0;
begin
- if not Present (Get_Alternatives (N)) then
+ if No (Get_Alternatives (N)) then
return 0;
end if;