]> granicus.if.org Git - clang/commit
[Analyzer] Add support for displaying cross-file diagnostic paths in HTML output
authorDevin Coughlin <dcoughlin@apple.com>
Thu, 3 Aug 2017 18:12:22 +0000 (18:12 +0000)
committerDevin Coughlin <dcoughlin@apple.com>
Thu, 3 Aug 2017 18:12:22 +0000 (18:12 +0000)
commit896feaf77bafc5473b5f7d990c7e99ac2ca33d8c
tree71a7a860e2b70235a17a793a8d9d9ca1f99defb3
parentfc39168c309c7c5445de91f18c392a6fc724e677
[Analyzer] Add support for displaying cross-file diagnostic paths in HTML output

This change adds support for cross-file diagnostic paths in html output. If the
diagnostic path is not cross-file, there is no change in the output.

Patch by Vlad Tsyrklevich!

Differential Revision: https://reviews.llvm.org/D30406

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@309968 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/clang/StaticAnalyzer/Core/Analyses.def
lib/Rewrite/HTMLRewrite.cpp
lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
test/Analysis/diagnostics/diag-cross-file-boundaries.c [deleted file]
test/Analysis/html-diag-singlefile.c [new file with mode: 0644]
test/Analysis/html-diag-singlefile.h [moved from test/Analysis/diagnostics/diag-cross-file-boundaries.h with 100% similarity]
test/Analysis/html-diags-analyze-headers.c [new file with mode: 0644]
test/Analysis/html-diags-analyze-headers.h [new file with mode: 0644]
test/Analysis/html-diags-multifile.c
test/Analysis/html-diags.c
test/Coverage/html-diagnostics.c
test/Coverage/html-multifile-diagnostics.c [new file with mode: 0644]
test/Coverage/html-multifile-diagnostics.h [new file with mode: 0644]
www/analyzer/open_projects.html