[libcxx-commits] [libcxx] [libc++][test] Fix simple warnings (PR #74186)
Stephan T. Lavavej via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Dec 4 17:41:31 PST 2023
================
@@ -94,8 +94,13 @@ struct Test1OutIters {
TEST_CONSTEXPR_CXX20 bool test() {
types::for_each(types::cpp17_input_iterator_list<int*>(), TestOutIters());
- if (TEST_STD_VER >= 23 || !TEST_IS_CONSTANT_EVALUATED)
+
+#if TEST_STD_VER < 23
----------------
StephanTLavavej wrote:
Done! I figured out a clean way to do this without introducing a new helper function.
https://github.com/llvm/llvm-project/pull/74186
More information about the libcxx-commits
mailing list