summaryrefslogtreecommitdiffstats
path: root/clang/test/Coverage/html-multifile-diagnostics.h
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2017-08-03 18:12:22 +0000
committerDevin Coughlin <dcoughlin@apple.com>2017-08-03 18:12:22 +0000
commitf0cadcd9f385d36dc751cdb32476b32ec43306b5 (patch)
tree1934ab120846a4e22c0ca9b3ad69bbab4ba7d275 /clang/test/Coverage/html-multifile-diagnostics.h
parentfd2c3795682fb9a3139f6411b1cf27c1304a66fc (diff)
downloadbcm5719-llvm-f0cadcd9f385d36dc751cdb32476b32ec43306b5.tar.gz
bcm5719-llvm-f0cadcd9f385d36dc751cdb32476b32ec43306b5.zip
[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
Diffstat (limited to 'clang/test/Coverage/html-multifile-diagnostics.h')
-rw-r--r--clang/test/Coverage/html-multifile-diagnostics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Coverage/html-multifile-diagnostics.h b/clang/test/Coverage/html-multifile-diagnostics.h
new file mode 100644
index 00000000000..4a99ff0df9c
--- /dev/null
+++ b/clang/test/Coverage/html-multifile-diagnostics.h
@@ -0,0 +1,3 @@
+void f1(int *ptr) {
+ *ptr = 0;
+}
OpenPOWER on IntegriCloud