diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-02-19 08:24:37 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-02-19 08:24:37 +0000 |
commit | 8c0b9646f54499ee88a3b3df308a2bfbaafac345 (patch) | |
tree | 5930431e0f2bd80782b892a2de015981f12f751b /www/analyzer/xcode.html | |
parent | 7d539a4fb6ac4a9777ffd183dd7a8dbd8cd9ac95 (diff) |
Label examples.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/analyzer/xcode.html')
-rw-r--r-- | www/analyzer/xcode.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/analyzer/xcode.html b/www/analyzer/xcode.html index 6abf9d5614..3396e6efea 100644 --- a/www/analyzer/xcode.html +++ b/www/analyzer/xcode.html @@ -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 |