[all-commits] [llvm/llvm-project] 97a304: [scan-build-py] Add sarif-html support in scan-bui...
Marco Vanotti via All-commits
all-commits at lists.llvm.org
Tue Feb 23 14:42:10 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 97a304cc8f949e40693d63b855b4b24bc81fa729
https://github.com/llvm/llvm-project/commit/97a304cc8f949e40693d63b855b4b24bc81fa729
Author: Daniel Hwang <arkay at google.com>
Date: 2021-02-23 (Tue, 23 Feb 2021)
Changed paths:
M clang/tools/scan-build-py/libscanbuild/analyze.py
M clang/tools/scan-build-py/libscanbuild/arguments.py
M clang/tools/scan-build-py/libscanbuild/report.py
M clang/tools/scan-build-py/tests/functional/cases/test_from_cdb.py
Log Message:
-----------
[scan-build-py] Add sarif-html support in scan-build-py
Update scan-build-py to be able to trigger sarif-html output format in clang static analyzer.
NOTE: testcase `test_sarif_and_html_creates_sarif_and_html_reports` will fail if the default clang does not have change https://reviews.llvm.org/D96389 . This can be remediated by pointing the default clang in arguments.py to a locally built clang. I was unable to figure out where these particular tests for scan-build-py are being invoked (aside from manually), so any help there would be greatly appreciated.
Reviewed By: aabbaabb, xazax.hun
Differential Revision: https://reviews.llvm.org/D96570
More information about the All-commits
mailing list