aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.h
diff options
context:
space:
mode:
authorGhjuvan Lacambre <lacambre@adacore.com>2022-04-27 15:01:28 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-30 08:29:05 +0000
commita4db870e1b042ac6ab7ddaef6e2d3e32408578dd (patch)
treee85df6679b5babce37b96516d155e64cba4b9697 /gcc/gimple-array-bounds.h
parent8244b8034201bfb0609eaa33fe3a4a2518dfdb3d (diff)
downloadgcc-a4db870e1b042ac6ab7ddaef6e2d3e32408578dd.zip
gcc-a4db870e1b042ac6ab7ddaef6e2d3e32408578dd.tar.gz
gcc-a4db870e1b042ac6ab7ddaef6e2d3e32408578dd.tar.bz2
[Ada] Add "option" field to GNAT's -fdiagnostics-format=json output
This enables better integration with tools that handle GNAT's output. gcc/ada/ * erroutc.ads (Get_Warning_Option): New function returning the option responsible for a warning if it exists. * erroutc.adb (Get_Warning_Option): Likewise. (Get_Warning_Tag): Rely on Get_Warning_Option when possible. * errout.adb (Output_JSON_Message): Emit option field.
Diffstat (limited to 'gcc/gimple-array-bounds.h')
0 files changed, 0 insertions, 0 deletions