diff options
author | Ronan Desplanques <desplanques@adacore.com> | 2023-09-29 11:25:18 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-10-19 16:35:21 +0200 |
commit | 0c29a990a645e24d48bf06adb7e1dca104b79335 (patch) | |
tree | c63ebc680c06dc81b44e012165d69c7594fb8cff /gcc/cp/constexpr.cc | |
parent | 7b1b787baa6ecc03a62b0db043a856cdb6463146 (diff) | |
download | gcc-0c29a990a645e24d48bf06adb7e1dca104b79335.zip gcc-0c29a990a645e24d48bf06adb7e1dca104b79335.tar.gz gcc-0c29a990a645e24d48bf06adb7e1dca104b79335.tar.bz2 |
ada: Seize opportunity to reuse List_Length
This patch is intended as a readability improvement. It doesn't
change the behavior of the compiler.
gcc/ada/
* sem_ch3.adb (Constrain_Array): Replace manual list length
computation by call to List_Length.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions