At this point, every supported compiler that claims a -std=c++17 mode should also support if constexpr. This was an issue for GCC 5 and GCC 6, but hasn't been an issue since GCC 7. (Our current minimum supported GCC version, IIUC, is GCC 10 or 11.)
Details
Details
- Reviewers
ldionne Mordante - Group Reviewers
Restricted Project - Commits
- rG9a3cb7346068: [libc++] [test] Eliminate the libcpp-no-if-constexpr feature flag.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for looking at this! If the CI's happy, I'm happy.
libcxx/utils/libcxx/test/features.py | ||
---|---|---|
39 | Incidentally I've been looking at this recently and I think libcpp-no-structured-bindings and no-noexcept-function-type can also be removed. Obviously not intended for this patch. |
Comment Actions
There's also an instance of __cpp_if_constexpr in libcxx/test/support/container_debug_tests.h you can remove.
libcxx/utils/libcxx/test/features.py | ||
---|---|---|
39 | Yup, there's some more cleanup we can do!! |
Incidentally I've been looking at this recently and I think libcpp-no-structured-bindings and no-noexcept-function-type can also be removed. Obviously not intended for this patch.