[Ada] Use Cancel_Special_Output instead of Set_Special_Output with null
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 14 Nov 2018 11:40:20 +0000 (11:40 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 14 Nov 2018 11:40:20 +0000 (11:40 +0000)
commite3548b69ad7ce76aa9e9aecf6a707ab0f88114ae
tree6130aa2cacf62b88c98eecbc61ba7e61e15f632a
parentae93ccb2af09fa4158a3bb531aecbd58cacdfa6c
[Ada] Use Cancel_Special_Output instead of Set_Special_Output with null

I believe Cancel_Special_Output is easier to read and thus preferred;
otherwise, it wouldn't be introduced, so let's use it where possible.

2018-11-14  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* bindgen.adb, exp_cg.adb, repinfo.adb, sprint.adb: Minor reuse
Cancel_Special_Output where possible.

From-SVN: r266110
gcc/ada/ChangeLog
gcc/ada/bindgen.adb
gcc/ada/exp_cg.adb
gcc/ada/repinfo.adb
gcc/ada/sprint.adb