]> gcc.gnu.org Git - gcc.git/commit
[Ada] Add precise subprogram identification to -fdiagnostics-format=json
authorGhjuvan Lacambre <lacambre@adacore.com>
Tue, 17 May 2022 18:03:44 +0000 (20:03 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 2 Jun 2022 09:06:42 +0000 (09:06 +0000)
commit8575c72f04019a5ffc6be359e1d513bb2e1fb2d8
treee8af4784ceabb61a4b7d9c8a1063022ed35dd21f
parent615682bc665e17f5b38e12878a1fa98f5062b5e4
[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.
gcc/ada/errout.adb
This page took 0.05462 seconds and 5 git commands to generate.