Building libcxx requires at least C++17 so remove the old work-arounds.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG2544060e7180: [libc++] Remove C++11 work-arounds in src.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Isn't it strange that a filesystem test builds the sources with -std=c++11? By source here I mean something under src/, precisely libcxx/src/filesystem/filesystem_common.h.
It seems like a bad separation between the code and the tests.
Comment Actions
I tend to agree, however this test is a libcxx test and not a std test. So I assume that's the reason it's testing the internals.
Comment Actions
Remove the C++11 comparibility again in filesystem_common.h. Tested with _LIBCPP_CONSTEXPR_AFTER_CXX11 which seems to work locally.