This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository gcc.
from 5ab73173cca Add -fdiagnostics-format={json-stderr|json-file} new 6cf276ddf22 diagnostics: add SARIF output format
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gcc/Makefile.in | 8 +- gcc/ada/gcc-interface/misc.cc | 11 + gcc/analyzer/checker-path.cc | 106 +- gcc/analyzer/checker-path.h | 22 +- gcc/analyzer/pending-diagnostic.h | 11 + gcc/analyzer/sm-file.cc | 14 + gcc/analyzer/sm-malloc.cc | 14 + gcc/analyzer/sm-sensitive.cc | 9 + gcc/analyzer/sm-taint.cc | 11 + gcc/analyzer/varargs.cc | 13 + gcc/c/c-lang.cc | 12 + gcc/c/c-tree.h | 2 + gcc/common.opt | 8 +- gcc/cp/cp-lang.cc | 13 + gcc/d/d-lang.cc | 11 + gcc/diagnostic-client-data-hooks.h | 105 ++ gcc/diagnostic-format-sarif.cc | 1586 ++++++++++++++++++++ gcc/diagnostic-path.h | 82 + gcc/diagnostic.cc | 128 +- gcc/diagnostic.h | 21 +- gcc/doc/invoke.texi | 10 +- gcc/doc/sourcebuild.texi | 6 + gcc/fortran/f95-lang.cc | 11 + gcc/go/go-lang.cc | 11 + gcc/langhooks-def.h | 5 +- gcc/langhooks.cc | 8 + gcc/langhooks.h | 6 + gcc/logical-location.h | 72 + gcc/objc/objc-act.h | 1 + gcc/objc/objc-lang.cc | 8 + gcc/plugin.cc | 38 + gcc/plugin.h | 3 + .../c-c++-common/diagnostic-format-sarif-file-1.c | 43 + .../c-c++-common/diagnostic-format-sarif-file-2.c | 29 + .../c-c++-common/diagnostic-format-sarif-file-3.c | 30 + .../c-c++-common/diagnostic-format-sarif-file-4.c | 19 + gcc/testsuite/gcc.dg/analyzer/file-meaning-1.c | 15 + gcc/testsuite/gcc.dg/analyzer/malloc-meaning-1.c | 10 + gcc/testsuite/gcc.dg/analyzer/malloc-sarif-1.c | 20 + gcc/testsuite/gcc.dg/plugin/analyzer_gil_plugin.c | 15 + .../gcc.dg/plugin/diagnostic-test-paths-5.c | 56 + gcc/testsuite/gcc.dg/plugin/plugin.exp | 1 + gcc/testsuite/lib/gcc-dg.exp | 1 + gcc/testsuite/lib/scansarif.exp | 42 + gcc/tree-diagnostic-client-data-hooks.cc | 150 ++ gcc/tree-diagnostic.cc | 2 + gcc/tree-logical-location.cc | 148 ++ gcc/tree-logical-location.h | 67 + libatomic/testsuite/lib/libatomic.exp | 1 + libgomp/testsuite/lib/libgomp.exp | 1 + libitm/testsuite/lib/libitm.exp | 1 + libphobos/testsuite/lib/libphobos-dg.exp | 1 + 52 files changed, 3005 insertions(+), 13 deletions(-) create mode 100644 gcc/diagnostic-client-data-hooks.h create mode 100644 gcc/diagnostic-format-sarif.cc create mode 100644 gcc/logical-location.h create mode 100644 gcc/testsuite/c-c++-common/diagnostic-format-sarif-file-1.c create mode 100644 gcc/testsuite/c-c++-common/diagnostic-format-sarif-file-2.c create mode 100644 gcc/testsuite/c-c++-common/diagnostic-format-sarif-file-3.c create mode 100644 gcc/testsuite/c-c++-common/diagnostic-format-sarif-file-4.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/file-meaning-1.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/malloc-meaning-1.c create mode 100644 gcc/testsuite/gcc.dg/analyzer/malloc-sarif-1.c create mode 100644 gcc/testsuite/gcc.dg/plugin/diagnostic-test-paths-5.c create mode 100644 gcc/testsuite/lib/scansarif.exp create mode 100644 gcc/tree-diagnostic-client-data-hooks.cc create mode 100644 gcc/tree-logical-location.cc create mode 100644 gcc/tree-logical-location.h