aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.cc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2024-12-05 17:55:09 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-01-03 16:39:15 +0100
commit2789e3610ee17c153ab9dc851a4e1ae64afc4103 (patch)
tree59e454148c32c3de528bfe23eea0e39dcb7f113e /gcc/fortran/trans-expr.cc
parent5a843616379b1c02d6702ac6121c576bd05f4209 (diff)
downloadgcc-2789e3610ee17c153ab9dc851a4e1ae64afc4103.zip
gcc-2789e3610ee17c153ab9dc851a4e1ae64afc4103.tar.gz
gcc-2789e3610ee17c153ab9dc851a4e1ae64afc4103.tar.bz2
ada: Rely on default parameter when making non-constant nodes
When calling Make_Access_To_Object_Definition and Make_Object_Declaration we can rely on the default value of parameter Constant_Present being False. This makes code cleaner and consistent with relying on the default value of other parameters of this routine, like Null_Exclusion_Present. Code cleanup; semantics is unaffected. gcc/ada/ChangeLog: * exp_ch3.adb, exp_disp.adb: Remove explicit actual parameter Constant_Present equal False; tune comments.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions