aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Coverage/html-diagnostics.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-05 02:11:37 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-05 02:11:37 +0000
commitaef52f4c83b6a220f9fa4d6e5a1f1af6ceaf926c (patch)
treee25eb9263b0e1bfa43014c9b065e56a641d517e7 /clang/test/Coverage/html-diagnostics.c
parent5e86044ec411f6497198ecfb83a5931313f07495 (diff)
downloadllvm-aef52f4c83b6a220f9fa4d6e5a1f1af6ceaf926c.zip
llvm-aef52f4c83b6a220f9fa4d6e5a1f1af6ceaf926c.tar.gz
llvm-aef52f4c83b6a220f9fa4d6e5a1f1af6ceaf926c.tar.bz2
Remove clang-cc -html-diags option, this doesn't fit in well and we get plenty
of coverage of this from the analyzer. If this bothers you, I can add it back in a mode where non-source diagnostics go to stderr and only source diagnostics use -html-diags, but I don't think anyone uses this. llvm-svn: 86109
Diffstat (limited to 'clang/test/Coverage/html-diagnostics.c')
-rw-r--r--clang/test/Coverage/html-diagnostics.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/test/Coverage/html-diagnostics.c b/clang/test/Coverage/html-diagnostics.c
index e3db166..55376d0 100644
--- a/clang/test/Coverage/html-diagnostics.c
+++ b/clang/test/Coverage/html-diagnostics.c
@@ -1,5 +1,9 @@
// RUN: rm -rf %t &&
-// RUN: clang-cc --html-diags=%t -checker-cfref %s
+// RUN: clang-cc -analyze -analyzer-output=html -checker-cfref -o %t %s &&
+// RUN: cat %t/*.html | FileCheck %s
+
+// CHECK: <h3>Annotated Source Code</h3>
+// CHECK: Dereference of null pointer
void f0(int x) {
int *p = &x;