aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/misc.cc
diff options
context:
space:
mode:
authorGhjuvan Lacambre <lacambre@adacore.com>2022-05-17 20:03:44 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-06-02 09:06:42 +0000
commit8575c72f04019a5ffc6be359e1d513bb2e1fb2d8 (patch)
treee8af4784ceabb61a4b7d9c8a1063022ed35dd21f /gcc/ada/gcc-interface/misc.cc
parent615682bc665e17f5b38e12878a1fa98f5062b5e4 (diff)
downloadgcc-8575c72f04019a5ffc6be359e1d513bb2e1fb2d8.zip
gcc-8575c72f04019a5ffc6be359e1d513bb2e1fb2d8.tar.gz
gcc-8575c72f04019a5ffc6be359e1d513bb2e1fb2d8.tar.bz2
[Ada] Add precise subprogram identification to -fdiagnostics-format=json
This commit adds information allowing identification of the subprogram surrounding the message emitted by gnat when using -gnatdJ along with -fdiagnostics-format=json. gcc/ada/ * errout.adb (Write_JSON_Span): Add subprogram name to emitted JSON.
Diffstat (limited to 'gcc/ada/gcc-interface/misc.cc')
0 files changed, 0 insertions, 0 deletions