diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-01-06 19:14:33 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-01-11 13:24:49 +0000 |
commit | 9d4a5ddc7b124f201d7c6746e07b0ad98be5f702 (patch) | |
tree | 7ae84ed64958d7871182982f53b714dd64498503 /gcc/objc | |
parent | c441162d56974eb557f2ed3cab25c6107411ac62 (diff) | |
download | gcc-9d4a5ddc7b124f201d7c6746e07b0ad98be5f702.zip gcc-9d4a5ddc7b124f201d7c6746e07b0ad98be5f702.tar.gz gcc-9d4a5ddc7b124f201d7c6746e07b0ad98be5f702.tar.bz2 |
[Ada] Avoid redundant checks for empty lists
gcc/ada/
* exp_ch4.adb (Expand_N_Expression_With_Actions): Avoid
redundant check.
* exp_ch5.adb (Expand_N_If_Statement): Likewise.
* exp_ch7.adb (Process_Declarations): Likewise.
* sem_elab.adb (Freeze_Node_Location): Likewise.
* exp_util.adb (Insert_Actions): Likewise.
(Is_OK_PF_Pragma): Likewise.
(Requires_Cleanup_Actions): Remove early exit; ordinary
processing path will similarly do nothing.
Diffstat (limited to 'gcc/objc')
0 files changed, 0 insertions, 0 deletions