[Ada] Cleanup detection of No_Elist with No and Present
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 20 Jan 2022 19:14:20 +0000 (20:14 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 10 May 2022 08:19:27 +0000 (08:19 +0000)
commitb814f0bdf1c1f6bcb628567c8e0e95fd68425657
tree3de96eb379deac44e5bcc7d7167d0bebae55d791
parent35f10dc04029e7125c322acbbd71dd30e3c8f54f
[Ada] Cleanup detection of No_Elist with No and Present

Replace equality and inequality operators with calls to No and Present.
Offending occurrences found with:

$ grep -n " /\?= No_Elist" *.adb

Code cleanup only; semantics is unaffected.

gcc/ada/

* exp_ch11.adb, exp_ch5.adb, exp_prag.adb, gnat_cuda.adb,
sem_ch12.adb, sem_ch3.adb, sem_ch6.adb, sem_util.adb,
treepr.adb: Replace /= and = operators with No and Present,
respectively.
gcc/ada/exp_ch11.adb
gcc/ada/exp_ch5.adb
gcc/ada/exp_prag.adb
gcc/ada/gnat_cuda.adb
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_ch6.adb
gcc/ada/sem_util.adb
gcc/ada/treepr.adb