diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-12-16 11:22:50 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-12-16 11:22:50 -0500 |
commit | 7f4f49687b1f1b7aed0d6626b24f214e8a800439 (patch) | |
tree | 3eacd4d956d88e4e3fc59ea0f3c926477c1c55ed /gcc/tree-inline.h | |
parent | 2af541920787e333a25b6524e6b94200f128ba13 (diff) | |
download | gcc-7f4f49687b1f1b7aed0d6626b24f214e8a800439.zip gcc-7f4f49687b1f1b7aed0d6626b24f214e8a800439.tar.gz gcc-7f4f49687b1f1b7aed0d6626b24f214e8a800439.tar.bz2 |
sarif-replay: handle embedded links (ยง3.11.6)
Handle embedded links in plain text messages. For now, merely
use the link text and discard the destination.
gcc/ChangeLog:
* libsarifreplay.cc (struct embedded_link): New.
(maybe_consume_embedded_link): New.
(sarif_replayer::make_plain_text_within_result_message): Handle
embedded links by using the link text, for now.
gcc/testsuite/ChangeLog:
* sarif-replay.dg/2.1.0-valid/3.11.6-embedded-links.sarif: New test.
* sarif-replay.dg/2.1.0-valid/malloc-vs-local-4.c.sarif: Update
expected output for handling the embedded links.
* sarif-replay.dg/2.1.0-valid/spec-example-4.sarif: Likewise.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions