2010-08-21 92 views

回答

3

静态分析是通过与--analyze标志集运行/Developer/usr/bin/clang完成。所以你可以打开终端并运行/Developer/usr/bin/clang --version

在我的机器,这个打印:

Mephistopheles:bin dave$ clang --version 
Apple clang version 1.5 (tags/Apple/clang-60) 
Target: x86_64-apple-darwin10 
Thread model: posix 
+3

作为附加的注释到戴维的出色答卷,如果安装的Xcode的多个版本,你可以确保你用铿锵的默认版本的Xcode选: \'xcode-select -print-path \'/ usr/bin/clang --version – 2010-08-21 04:43:54