为什么Clang的llvm版本是10.0.0,但是最新的llvm版本是7.0.0? [英] Why clang's llvm version is 10.0.0, but the latest llvm version is 7.0.0?

查看:94
本文介绍了为什么Clang的llvm版本是10.0.0,但是最新的llvm版本是7.0.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的clang版本是 Apple LLVM版本10.0.0(clang-1000.11.45.5),但是最新的llvm版本是7.0.0,为什么?

My clang version is Apple LLVM version 10.0.0 (clang-1000.11.45.5), but the latest llvm version is 7.0.0, why?

l:tmp apple$ clang++ --version
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

推荐答案

Apple分叉的LLVM版本号与XCode发行版一致,因此与上游版本没有直接关系.

Apple's forked LLVM version numbers coincide with XCode releases, and so don't directly relate to the upstream versions.

例如Apple LLVM 10.0.0与XCode 10.0一起发布.

e.g. Apple LLVM 10.0.0 was released with XCode 10.0.

这篇关于为什么Clang的llvm版本是10.0.0,但是最新的llvm版本是7.0.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆