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)
commit3ccec59ec2fffd039c91f3dfba2b34df63937c9a
tree8768f545dcf887b87a558aa9195e7aed4617f4f8
parenta5e2b081beb5f38086e4a621abaefc55b2e27e56
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.

llvm-svn: 349188
clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif