зеркало из https://github.com/microsoft/clang.git
Label examples.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96668 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
7d539a4fb6
Коммит
8c0b9646f5
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче