This goes with the ABI versioning support in libc++ in http://reviews.llvm.org/D11740
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
ping
We will need this when libc++ is bumped to v2. There are no plans to do this AFAIK but the ABI version macros are in so it is possible and clang should be ready.
LGTM
lib/Driver/ToolChains.cpp | ||
---|---|---|
3859 | Since you've got logic here to pick the newest headers, you should also have a tree that has both usr/include/c++/v1 and usr/include/c++/v2 to test that part of this change. It's probably also a good idea to have a tree laid out as if libstdc++ and libc++ were both installed, i.e. both usr/include/c++/v1 and usr/include/c++/5.0 in it. |
StringRef instead?