[Ada] Remove repeated routines for printing AST in Mixed_Case
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 3 Dec 2021 12:38:08 +0000 (13:38 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 7 Jan 2022 16:24:11 +0000 (16:24 +0000)
commitd1e0b1be622e2beb55babe892691cc56ea20263d
tree1bf25037f47d5de1bea3c2f0c5d4a0d40f5dbdaa
parentc31cbf91a0e2740cb317a4339a62cebd1d633475
[Ada] Remove repeated routines for printing AST in Mixed_Case

gcc/ada/

* osint.adb (To_Lower): Clarify that only To_Lower function
causes bootstrap issues; fix style.
* treepr.adb (Print_Str_Mixed_Case): Reuse existing case
conversion routine.
(To_Mixed): Rename from Capitalize; reuse System.Case_Util
procedure and explain the bootstrap issue.
gcc/ada/osint.adb
gcc/ada/treepr.adb