aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch5.adb
diff options
context:
space:
mode:
authorGhjuvan Lacambre <lacambre@adacore.com>2021-01-27 09:53:26 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-06-18 04:36:47 -0400
commit26373979deab7481b0503d86e80390ab65c65381 (patch)
treec43df107692a6f68fbde676154abce2af049d04e /gcc/ada/sem_ch5.adb
parent0becb0faaecc79df3de24bd5467b90cfd08a829a (diff)
downloadgcc-26373979deab7481b0503d86e80390ab65c65381.zip
gcc-26373979deab7481b0503d86e80390ab65c65381.tar.gz
gcc-26373979deab7481b0503d86e80390ab65c65381.tar.bz2
[Ada] Implement basic support for -fdiagnostics-format=json
gcc/ada/ * back_end.adb (Scan_Back_End_Switches): Set Opt.JSON_Output to True if -fdiagnostics-format=json option is found. * back_end.ads (Scan_Compiler_Arguments): Mention Opt.JSON_Output. * errout.adb (Output_JSON_Message): New procedure. (Output_Messages): If Opt.JSON_Output is True, print messages with new Output_JSON_Message procedure. * opt.ads: Declare JSON_Output variable. * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Mention new -fdiagnostics-format option. * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada/sem_ch5.adb')
0 files changed, 0 insertions, 0 deletions