问题
I want to map Apple's clang which is shipped with Xcode back to the official clang feature list.
But I couldn't link the two. The version is obscured.
Is there a way to tell?
回答1:
I didn't quite understand why would you need such information, since they already claim full compatibility with C++11 spec.
Anyway, here's my take on it.
Please note that following steps will not reveal a clear answer but currently I can't think of a better approach to this.
- This developer curated list suggests that
Apple LLVM version 7.3.0 clang 703.0.29is bundled withXcode 7.3 (7D175). - When I go to the project page for clang in Apple Open Source website, unfortunately I can't see a directory for
703.0.29build. Not yet at least. - Whenever they release it, get it.
- Also, get official
clang's trunk from http://llvm.org/svn/llvm-project/cfe/trunk/ - Run tests named
$OFFICIAL_CLANG_ROOT/test/SemaCXX/cxx11*.cppover Apple'sclang. - Evaluate
来源:https://stackoverflow.com/questions/36212191/how-does-apple-clang-703-0-29-map-back-to-clang-releases-in-terms-of-c1x-suppo