2010-08-21 91 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