]> granicus.if.org Git - clang/commitdiff
Label examples.
authorTed Kremenek <kremenek@apple.com>
Fri, 19 Feb 2010 08:24:37 +0000 (08:24 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 19 Feb 2010 08:24:37 +0000 (08:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96668 91177308-0d34-0410-b5e6-96231b3b80d8

www/analyzer/xcode.html

index 6abf9d5614e6a031abea58575acef31dedef14f8..3396e6efea49f555cc2bf78ec4cbca248c7f950d 100644 (file)
@@ -105,7 +105,7 @@ specify for static analysis.  Within this model it provides you two basic modes:
 
 <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 @@ $ tar xjf checker-235.tar.bz2
 $ 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