]> granicus.if.org Git - clang/commit
Update our SARIF support from 10-10 to 11-28.
authorAaron Ballman <aaron@aaronballman.com>
Fri, 14 Dec 2018 20:34:23 +0000 (20:34 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 14 Dec 2018 20:34:23 +0000 (20:34 +0000)
commitb53ab0e23fc3229a6e9815c0602165114591a911
tree7ab2a7470deed3e230800856a462c77c2a4c0554
parent817269769019f72d14e284f3b040be697c2c30d5
Update our SARIF support from 10-10 to 11-28.

Functional changes include:

* The run.files property is now an array instead of a mapping.
* fileLocation objects now have a fileIndex property specifying the array index into run.files.
* The resource.rules property is now an array instead of a mapping.
* The result object was given a ruleIndex property that is an index into the resource.rules array.
* rule objects now have their "id" field filled out in addition to the name field.
* Updated the schema and spec version numbers to 11-28.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif