diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2023-03-23 21:00:54 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-26 09:29:18 +0200 |
commit | 34c71b0472f8d3d681adffc100b054be0cb14a15 (patch) | |
tree | ce64671d8e382cd5814952d2e35c6a309a6d52c7 /gcc/dump-context.h | |
parent | 4a555bfee36bf0ce7513c37e9d4fb1f23405a064 (diff) | |
download | gcc-34c71b0472f8d3d681adffc100b054be0cb14a15.zip gcc-34c71b0472f8d3d681adffc100b054be0cb14a15.tar.gz gcc-34c71b0472f8d3d681adffc100b054be0cb14a15.tar.bz2 |
ada: Cleanup expansion of membership operators into attribute Valid
Code cleanup; semantics is unaffected.
gcc/ada/
* exp_ch4.adb (Is_OK_Object_Reference): Replace loop with a call to
Unqual_Conv; consequently, change object from variable to constant;
replace an IF statement with an AND THEN expression.
Diffstat (limited to 'gcc/dump-context.h')
0 files changed, 0 insertions, 0 deletions