aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorSheri Bernstein <bernstein@adacore.com>2023-07-27 17:12:37 +0000
committerMarc Poulhiès <poulhies@adacore.com>2023-08-07 13:14:36 +0200
commitf51b8e5b7f44bbb70b8cef270d35ae7ac6ff41ef (patch)
tree1d7625066c5e8e8c9f69ba0384e449be4ff7fbc0 /libcpp
parent41d7d32c04d431a74cfe030c4a1d8c07ec6c6813 (diff)
downloadgcc-f51b8e5b7f44bbb70b8cef270d35ae7ac6ff41ef.zip
gcc-f51b8e5b7f44bbb70b8cef270d35ae7ac6ff41ef.tar.gz
gcc-f51b8e5b7f44bbb70b8cef270d35ae7ac6ff41ef.tar.bz2
ada: Refactor multiple returns
Replace multiple returns by a single return statement with a conditional expression. This is more readable and maintainable, and also conformant with a Highly Recommended design principle of ISO 26262-6. gcc/ada/ * libgnat/s-parame__qnx.adb: Refactor multiple returns.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions