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:
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