[cfe-commits] r96668 - /cfe/trunk/www/analyzer/xcode.html
Ted Kremenek
kremenek at apple.com
Fri Feb 19 00:24:37 PST 2010
Author: kremenek
Date: Fri Feb 19 02:24:37 2010
New Revision: 96668
URL: http://llvm.org/viewvc/llvm-project?rev=96668&view=rev
Log:
Label examples.
Modified:
cfe/trunk/www/analyzer/xcode.html
Modified: cfe/trunk/www/analyzer/xcode.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/analyzer/xcode.html?rev=96668&r1=96667&r2=96668&view=diff
==============================================================================
--- cfe/trunk/www/analyzer/xcode.html (original)
+++ cfe/trunk/www/analyzer/xcode.html Fri Feb 19 02:24:37 2010
@@ -105,7 +105,7 @@
<h4>Examples</h4>
-<p>Telling Xcode to use checker-235 for <i>Build and Analyze</i>:</p>
+<p><b>Example 1</b>: Telling Xcode to use checker-235 for <i>Build and Analyze</i>:</p>
<pre class="code_example">
$ pwd
@@ -114,13 +114,17 @@
$ checker-235/set-xcode-analyzer --use-checker-build=/tmp/checker-235
</pre>
-<p>Telling Xcode to use a very specific version of <tt>clang</tt>:</p>
+<p>Note that you typically won't install an analyzer build in <tt>/tmp</tt>, but
+the point of this example is that <tt>set-xcode-analyzer</tt> just wants a full
+path to an untarred analyzer build.</p>
+
+<p><b>Example 2</b>: Telling Xcode to use a very specific version of <tt>clang</tt>:</p>
<pre class="code_example">
$ set-xcode-analyzer --use-checker-build=~/mycrazyclangbuild/bin/clang
</pre>
-<p>Resetting Xcode to its default behavior:</p>
+<p><b>Example 3</b>: Resetting Xcode to its default behavior:</p>
<pre class="code_example">
$ set-xcode-analyzer -use-xcode-clang
More information about the cfe-commits
mailing list