]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Cleanup repeated code for aggregate constraints checks
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 6 Jun 2022 12:01:35 +0000 (14:01 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Jul 2022 08:28:19 +0000 (08:28 +0000)
commitdd1c3433aa93d70d41d6c6cc1836249396413eab
treeadc61e157bc29622a2c5b4dd91502688b5c7ad26
parent074e8addc5d8e92d9446357b961c003fe06dcc50
[Ada] Cleanup repeated code for aggregate constraints checks

Code cleanup related to examining uses of Check_Unset_Reference for
improved detection of uninitialised scalar objects. Semantics is
unaffected.

gcc/ada/

* sem_util.adb (Aggregate_Constraint_Checks): Fix whitespace;
refactor repeated code; replace a ??? comment with an
explanation based on the comment for the routine spec.
gcc/ada/sem_util.adb