diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-05 02:11:37 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-05 02:11:37 +0000 |
commit | ad451ccdbf00199b223081552aaf1a798c7a7d3b (patch) | |
tree | c65f0296dd8e01740d53705283ca3e50301ca155 /test/Coverage/html-diagnostics.c | |
parent | b697a4e4118d2d59dc0f38463c8417ddaf58a11f (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86109 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Coverage/html-diagnostics.c')
-rw-r--r-- | test/Coverage/html-diagnostics.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/Coverage/html-diagnostics.c b/test/Coverage/html-diagnostics.c index e3db1668d8..55376d0e44 100644 --- a/test/Coverage/html-diagnostics.c +++ b/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; |