]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Simplify building of inequality function body
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 5 Nov 2021 14:13:47 +0000 (15:13 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 1 Dec 2021 10:24:39 +0000 (10:24 +0000)
commit659e775a17415341113dcbd4b23f52d6cd63f502
tree9cb342654ebc251fc93ac37805083b5edcca52ab
parentf05f68bc00755e39ed05a17e5f74483f151a7fee
[Ada] Simplify building of inequality function body

gcc/ada/

* exp_ch3.adb (Make_Eq_Body): Refactor to avoid appending to an
empty list; also, when exiting early we will not create any
list; fix style in comment.
gcc/ada/exp_ch3.adb