aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorGhjuvan Lacambre <lacambre@adacore.com>2022-05-06 18:53:57 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-06-01 08:43:19 +0000
commit65818fc9550ffda7724504e38c8d2005f6c4f2ca (patch)
treee48f3613a28644931423c1443b50b2459dd197d0 /gcc/ada/init.c
parent66f2a0def548b7f2e4edb46e50fc0b72e84532cc (diff)
downloadgcc-65818fc9550ffda7724504e38c8d2005f6c4f2ca.zip
gcc-65818fc9550ffda7724504e38c8d2005f6c4f2ca.tar.gz
gcc-65818fc9550ffda7724504e38c8d2005f6c4f2ca.tar.bz2
[Ada] Enable using absolute paths in -fdiagnostics-format=json output
This commit makes GNAT use absolute paths in -fdiagnostics-format=json's output when -gnatef is present on the command line. This makes life easier for tools that ingest GNAT's output. gcc/ada/ * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Document new behavior. * errout.adb (Write_JSON_Location): Output absolute paths when needed. * switch-c.adb (Scan_Front_End_Switches): Update -gnatef comment. * usage.adb (Usage): Update description of -gnatef. * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada/init.c')
0 files changed, 0 insertions, 0 deletions