输入时最高可达 Xcode 6 clang --version
我们获得了有关它构建的 LLVM 版本的信息:
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
但是现在使用 Xcode 7 我们只能得到以下信息:
Apple LLVM version 7.0.0 (clang-700.0.72)
最佳答案
见 https://gist.github.com/yamaya/2924292
其中一个有趣的评论说:
Looking at the sources (src/CMakeLists.txt), it appears AppleClang is based on (approximately) the following LLVM branches:
clang-700.0.72 => LLVM 3.7.0
clang-700.1.76 => LLVM 3.7.0
clang-700.1.81 => LLVM 3.7.0
clang-703.0.29 => LLVM 3.8.0
clang-703.0.31 => LLVM 3.8.0
关于clang - 什么是与 Xcode 捆绑的 LLVM 版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32985758/