diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-02-11 08:54:15 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-02-11 08:54:15 -0500 |
commit | e8c5013b6b7820d77edc45d04e634d49b20c05ce (patch) | |
tree | 43753a177a808ed6e9c36ceb87aa7090edcdc8fd /gcc/objc/objc-gnu-runtime-abi-01.cc | |
parent | 0f8fd6b336161ed0582edb08dbe6ea1932290a75 (diff) | |
download | gcc-e8c5013b6b7820d77edc45d04e634d49b20c05ce.zip gcc-e8c5013b6b7820d77edc45d04e634d49b20c05ce.tar.gz gcc-e8c5013b6b7820d77edc45d04e634d49b20c05ce.tar.bz2 |
sarif-replay: fix off-by-one in handling of "endColumn" (§3.30.8) [PR118792]
gcc/ChangeLog:
PR sarif-replay/118792
* libsarifreplay.cc (sarif_replayer::handle_region_object): Fix
off-by-one in handling of endColumn property so that the code
matches the comment and the SARIF spec (§3.30.8).
gcc/testsuite/ChangeLog:
PR sarif-replay/118792
* sarif-replay.dg/2.1.0-valid/error-with-note.sarif: Update
expected output to reflect fix to off-by-one error in handling of
"endColumn" property.
* sarif-replay.dg/2.1.0-valid/malloc-vs-local-4.c.sarif: Likewise.
* sarif-replay.dg/2.1.0-valid/signal-1.c.moved.sarif: Likewise.
* sarif-replay.dg/2.1.0-valid/signal-1.c.sarif: Likewise.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/objc/objc-gnu-runtime-abi-01.cc')
0 files changed, 0 insertions, 0 deletions