[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)
commitf0cadcd9f385d36dc751cdb32476b32ec43306b5
tree1934ab120846a4e22c0ca9b3ad69bbab4ba7d275
parentfd2c3795682fb9a3139f6411b1cf27c1304a66fc
[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

llvm-svn: 309968
14 files changed:
clang/include/clang/StaticAnalyzer/Core/Analyses.def
clang/lib/Rewrite/HTMLRewrite.cpp
clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
clang/test/Analysis/diagnostics/diag-cross-file-boundaries.c [deleted file]
clang/test/Analysis/html-diag-singlefile.c [new file with mode: 0644]
clang/test/Analysis/html-diag-singlefile.h [moved from clang/test/Analysis/diagnostics/diag-cross-file-boundaries.h with 100% similarity]
clang/test/Analysis/html-diags-analyze-headers.c [new file with mode: 0644]
clang/test/Analysis/html-diags-analyze-headers.h [new file with mode: 0644]
clang/test/Analysis/html-diags-multifile.c
clang/test/Analysis/html-diags.c
clang/test/Coverage/html-diagnostics.c
clang/test/Coverage/html-multifile-diagnostics.c [new file with mode: 0644]
clang/test/Coverage/html-multifile-diagnostics.h [new file with mode: 0644]
clang/www/analyzer/open_projects.html