aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-expr.cc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2025-02-15 08:18:19 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2025-02-15 08:18:19 -0500
commitd0d5204afff226ffc5d329b8e4734dda081dd9b4 (patch)
tree90882fdfefc055a2fb554b245cc1e6357da8aadb /gcc/fortran/trans-expr.cc
parentd022a068e0c8587b2570147b738cb2781242f162 (diff)
downloadgcc-d0d5204afff226ffc5d329b8e4734dda081dd9b4.zip
gcc-d0d5204afff226ffc5d329b8e4734dda081dd9b4.tar.gz
gcc-d0d5204afff226ffc5d329b8e4734dda081dd9b4.tar.bz2
sarif-replay: handle the 'fixes' property (ยง3.27.30)
This adds support to sarif-replay to display fix-it hints stored in GCC's SARIF output. gcc/ChangeLog: * libsarifreplay.cc (sarif_replayer::handle_result_obj): Call handle_fix_object if we see a single-element "fixes" array. (sarif_replayer::handle_fix_object): New. (sarif_replayer::handle_artifact_change_object): New. gcc/testsuite/ChangeLog: * sarif-replay.dg/2.1.0-valid/3.27.30-fixes-1.sarif: New test. * sarif-replay.dg/2.1.0-valid/3.27.30-fixes-2.sarif: New test. * sarif-replay.dg/2.1.0-valid/3.27.30-fixes-3.sarif: New test. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions