public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4749] ada: Simplify "not Present" with "No"
@ 2023-10-19 14:41 Marc Poulhi?s
0 siblings, 0 replies; only message in thread
From: Marc Poulhi?s @ 2023-10-19 14:41 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7b1b787baa6ecc03a62b0db043a856cdb6463146
commit r14-4749-g7b1b787baa6ecc03a62b0db043a856cdb6463146
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Mon Sep 25 17:30:57 2023 +0200
ada: Simplify "not Present" with "No"
gcc/ada/
* exp_aggr.adb (Expand_Container_Aggregate): Simplify with "No".
Diff:
---
gcc/ada/exp_aggr.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/exp_aggr.adb b/gcc/ada/exp_aggr.adb
index e5f363266008..340c8c68465b 100644
--- a/gcc/ada/exp_aggr.adb
+++ b/gcc/ada/exp_aggr.adb
@@ -7288,7 +7288,7 @@ package body Exp_Aggr is
-- Iterated component association. Discard
-- positional insertion procedure.
- if not Present (Iterator_Specification (Comp)) then
+ if No (Iterator_Specification (Comp)) then
Add_Named_Subp := Assign_Indexed_Subp;
Add_Unnamed_Subp := Empty;
end if;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-19 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-19 14:41 [gcc r14-4749] ada: Simplify "not Present" with "No" Marc Poulhi?s
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).