diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-07-24 18:07:55 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2024-07-24 18:07:55 -0400 |
commit | b4693ce3a0565bb75d0d5698f2ce2ffc53d1ff84 (patch) | |
tree | 1c7d2991d04b943555aa858027f677686e12fac7 /libcpp | |
parent | 29ee588129bf07d3adb62b6c2c189ba932c00ff4 (diff) | |
download | gcc-b4693ce3a0565bb75d0d5698f2ce2ffc53d1ff84.zip gcc-b4693ce3a0565bb75d0d5698f2ce2ffc53d1ff84.tar.gz gcc-b4693ce3a0565bb75d0d5698f2ce2ffc53d1ff84.tar.bz2 |
diagnostics: SARIF output: add "{start,end}TimeUtc" properties (§§3.20.7-8)
gcc/ChangeLog:
* diagnostic-format-sarif.cc
(make_date_time_string_for_current_time): New.
(sarif_invocation::sarif_invocation): Set "startTimeUtc"
property (§3.20.7).
(sarif_invocation::prepare_to_flush): Set "endTimeUtc"
property (§3.20.8).
gcc/testsuite/ChangeLog:
* c-c++-common/diagnostic-format-sarif-file-1.c: Verify that we have
"startTimeUtc" and "endTimeUtc" properties of the correct form.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions