Add scan-build screenshot for attribute 'nonnull' example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74104 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/www/analyzer/annotations.html b/www/analyzer/annotations.html
index 7d509ed..22c2128 100644
--- a/www/analyzer/annotations.html
+++ b/www/analyzer/annotations.html
@@ -90,14 +90,13 @@
return !p ? bar(q, 2, p)
: bar(p, 2, q);
}
-
-<span class="command">$ clang --analyze test.m</span>
-test.m:4:16: warning: Null pointer passed as an argument to a 'nonnull' parameter
- return !p ? bar(q, 2, p)
- ^ ~
-1 diagnostic generated.
</pre>
+<p>Running <tt>scan-build</tt> over this source produces the following
+output:</p>
+
+<img src="images/example_cf_returns_retained_gc.png">
+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<h2 id="macosx">Mac OS X API Annotations</h2>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->