From aef52f4c83b6a220f9fa4d6e5a1f1af6ceaf926c Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 5 Nov 2009 02:11:37 +0000 Subject: 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 --- clang/test/Coverage/html-diagnostics.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'clang/test/Coverage/html-diagnostics.c') diff --git a/clang/test/Coverage/html-diagnostics.c b/clang/test/Coverage/html-diagnostics.c index e3db1668d83..55376d0e440 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:

Annotated Source Code

+// CHECK: Dereference of null pointer void f0(int x) { int *p = &x; -- cgit v1.2.3