inline.adb: Minor reformatting and typo fix.
authorGary Dismukes <dismukes@adacore.com>
Fri, 13 Jan 2017 10:45:17 +0000 (10:45 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 13 Jan 2017 10:45:17 +0000 (11:45 +0100)
2017-01-13  Gary Dismukes  <dismukes@adacore.com>

* inline.adb: Minor reformatting and typo fix.

From-SVN: r244415

gcc/ada/ChangeLog
gcc/ada/inline.adb

index ecd4459..75023bf 100644 (file)
@@ -1,3 +1,7 @@
+2017-01-13  Gary Dismukes  <dismukes@adacore.com>
+
+       * inline.adb: Minor reformatting and typo fix.
+
 2017-01-13  Ed Schonberg  <schonberg@adacore.com>
 
        * sem_util.ads, sem_util.adb (Choice_List): Move function here
index f07cc4a..1724203 100644 (file)
@@ -3397,9 +3397,9 @@ package body Inline is
 
       elsif Present (Exit_Lab) then
 
-         --  If there is a single return statement at the end of the
-         --  subprogram, the corresponding goto statement and the
-         --  corresponding label are useless.
+         --  If there's a single return statement at the end of the subprogram,
+         --  the corresponding goto statement and the corresponding label are
+         --  useless.
 
          if Num_Ret = 1
            and then
@@ -4225,7 +4225,7 @@ package body Inline is
       Remove_Items (Aspect_Specifications (Body_Decl));
       Remove_Items (Declarations          (Body_Decl));
 
-      --  Pragmas Unmodified, Unreferenced and Unused may additionally appear
+      --  Pragmas Unmodified, Unreferenced, and Unused may additionally appear
       --  in the body of the subprogram.
 
       Remove_Items (Statements (Handled_Statement_Sequence (Body_Decl)));