aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2025-01-10 00:31:11 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-01-13 11:52:59 +0100
commit34943af17e3ed7963bb8b85757e24b300aa03cce (patch)
treeaf94d8731c9236b5d057e05ea8cbd2405a26016b /gcc
parent94a7543df92bc809c464f8312cab8d914fd3d8fe (diff)
downloadgcc-34943af17e3ed7963bb8b85757e24b300aa03cce.zip
gcc-34943af17e3ed7963bb8b85757e24b300aa03cce.tar.gz
gcc-34943af17e3ed7963bb8b85757e24b300aa03cce.tar.bz2
ada: Remove redundant parentheses inside unary operators in comments
GNAT already emits a style warning when redundant parentheses appear inside logical and short-circuit operators. A similar warning will be soon emitted for unary operators as well. This patch removes the redundant parentheses to avoid future build errors. gcc/ada/ChangeLog: * libgnat/s-genbig.adb: Remove redundant parentheses in comments.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/libgnat/s-genbig.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/libgnat/s-genbig.adb b/gcc/ada/libgnat/s-genbig.adb
index 82bf3f7..2780305 100644
--- a/gcc/ada/libgnat/s-genbig.adb
+++ b/gcc/ada/libgnat/s-genbig.adb
@@ -91,7 +91,7 @@ package body System.Generic_Bignums is
Remainder : out Big_Integer;
Discard_Quotient : Boolean := False;
Discard_Remainder : Boolean := False);
- -- Returns the Quotient and Remainder from dividing abs (X) by abs (Y). The
+ -- Returns the Quotient and Remainder from dividing abs X by abs Y. The
-- values of X and Y are not modified. If Discard_Quotient is True, then
-- Quotient is undefined on return, and if Discard_Remainder is True, then
-- Remainder is undefined on return. Service routine for Big_Div/Rem/Mod.