diff options
author | David Malcolm <dmalcolm@redhat.com> | 2024-07-24 18:07:55 -0400 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2024-07-28 19:05:54 +0200 |
commit | c2b6115accb67243e2e1c7ea8f6a5d421435f882 (patch) | |
tree | 6f5efbaa11fd000dc12a8a72286a189babd2634f /libcpp | |
parent | c06d90c59837e570954efe9fbba98560f9b3880a (diff) | |
download | gcc-c2b6115accb67243e2e1c7ea8f6a5d421435f882.zip gcc-c2b6115accb67243e2e1c7ea8f6a5d421435f882.tar.gz gcc-c2b6115accb67243e2e1c7ea8f6a5d421435f882.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