![]() ![]() As far as I know, this is the only reliable way to determine the base LLVM version for a given version of Xcode/Clang/Swift. That hasn't been the case for years now, and many sites that list the LLVM versions don't include info past the point where Apple stopped providing it.Īpple maintains a public fork of the "llvm-project" source code on GitHub. In early versions of Apple Clang, the actual base LLVM version was included in the output of the clang -version command. The original question asked specifically about determining the corresponding "" Clang version for a give Apple Clang compiler, which doesn't seem to be well-addressed by the other answers. I ask this because I see documenting a -pedantic option for the clang command line, but it is not documented in the man page of clang on my system. How do I find out which version of Clang hosted on does my Mac's version of Clang correspond to? Why is the Apple's version of Clang greater than the current version of Clang? InstalledDir: /Library/Developer/CommandLineTools/usr/bin The download page at and the Wikipedia article at seems to indicate that the most recent Clang version is 6.0.0.īut on my macOS High Sierra version 10.13.3, I see this output: $ clang -versionĪpple LLVM version 9.1.0 (clang-902.0.39.1) Note: None of the answers provided at Get Apple clang version and corresponding upstream LLVM version seems to work anymore. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |