How does Apple clang-703.0.29 map back to clang releases in terms of C++1x support?

爷,独闯天下 提交于 2019-12-07 02:50:35

问题


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.

  1. This developer curated list suggests that Apple LLVM version 7.3.0 clang 703.0.29 is bundled with Xcode 7.3 (7D175).
  2. When I go to the project page for clang in Apple Open Source website, unfortunately I can't see a directory for 703.0.29 build. Not yet at least.
  3. Whenever they release it, get it.
  4. Also, get official clang's trunk from http://llvm.org/svn/llvm-project/cfe/trunk/
  5. Run tests named $OFFICIAL_CLANG_ROOT/test/SemaCXX/cxx11*.cpp over Apple's clang.
  6. Evaluate


来源:https://stackoverflow.com/questions/36212191/how-does-apple-clang-703-0-29-map-back-to-clang-releases-in-terms-of-c1x-suppo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!