aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2023-09-29 11:25:18 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-10-19 16:35:21 +0200
commit0c29a990a645e24d48bf06adb7e1dca104b79335 (patch)
treec63ebc680c06dc81b44e012165d69c7594fb8cff /gcc/cp/constexpr.cc
parent7b1b787baa6ecc03a62b0db043a856cdb6463146 (diff)
downloadgcc-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