From 8c0b9646f54499ee88a3b3df308a2bfbaafac345 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 19 Feb 2010 08:24:37 +0000 Subject: [PATCH] Label examples. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96668 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/analyzer/xcode.html | 10 +++++++--- 1 file 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:

Examples

-

Telling Xcode to use checker-235 for Build and Analyze:

+

Example 1: Telling Xcode to use checker-235 for Build and Analyze:

 $ pwd
@@ -114,13 +114,17 @@ $ tar xjf checker-235.tar.bz2
 $ checker-235/set-xcode-analyzer --use-checker-build=/tmp/checker-235
 
-

Telling Xcode to use a very specific version of clang:

+

Note that you typically won't install an analyzer build in /tmp, but +the point of this example is that set-xcode-analyzer just wants a full +path to an untarred analyzer build.

+ +

Example 2: Telling Xcode to use a very specific version of clang:

 $ set-xcode-analyzer --use-checker-build=~/mycrazyclangbuild/bin/clang
 
-

Resetting Xcode to its default behavior:

+

Example 3: Resetting Xcode to its default behavior:

 $ set-xcode-analyzer -use-xcode-clang
-- 
2.40.0