diff options
author | Sheri Bernstein <bernstein@adacore.com> | 2023-07-27 17:12:37 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-08-07 13:14:36 +0200 |
commit | f51b8e5b7f44bbb70b8cef270d35ae7ac6ff41ef (patch) | |
tree | 1d7625066c5e8e8c9f69ba0384e449be4ff7fbc0 /gcc/tree-inline.h | |
parent | 41d7d32c04d431a74cfe030c4a1d8c07ec6c6813 (diff) | |
download | gcc-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 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions