]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Clarify code for aggregate warnings
authorRonan Desplanques <desplanques@adacore.com>
Mon, 11 Mar 2024 08:55:55 +0000 (09:55 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 17 May 2024 08:21:04 +0000 (10:21 +0200)
commitd87d0f331523684af0c975afa95232e9bf7070f6
tree4f01e6ee4e8523f55c149780a275a857dfa190e5
parent34ac60eb88e489991b420e82b98a039a31df262f
ada: Clarify code for aggregate warnings

This patch improves comments in code that emits warnings about
particular situations involving aggregates. It also removes a
conjunct in a condition that's useless because always true in the
context of the test.

gcc/ada/

* sem_aggr.adb (Resolve_Array_Aggregate): Improve comments
and condition.
gcc/ada/sem_aggr.adb