Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update __cpp_lib_concepts #2559

Merged
merged 3 commits into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stl/inc/yvals_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@
#endif // __cpp_char8_t

#if !defined(__EDG__) || defined(__INTELLISENSE__) // TRANSITION, EDG concepts support
#define __cpp_lib_concepts 201907L
#define __cpp_lib_concepts 202002L
#endif // !defined(__EDG__) || defined(__INTELLISENSE__)

#define __cpp_lib_constexpr_algorithms 201806L
Expand Down
3 changes: 0 additions & 3 deletions tests/libcxx/expected_results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ std/language.support/support.limits/support.limits.general/optional.version.pass
# test emits warning C4310: cast truncates constant value
std/numerics/bit/bitops.rot/rotl.pass.cpp:0 FAIL

# libc++ doesn't yet implement P1754R1 or P1964R2, so it expects an old value for `__cpp_lib_concepts`
std/language.support/support.limits/support.limits.general/concepts.version.pass.cpp FAIL

# Bogus test believes that optional<non_constexpr_destructor> cannot be a literal type
std/utilities/optional/optional.object/optional.object.dtor/dtor.pass.cpp:0 FAIL

Expand Down
3 changes: 0 additions & 3 deletions tests/libcxx/skipped_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ language.support\support.limits\support.limits.general\optional.version.pass.cpp
# test emits warning C4310: cast truncates constant value
numerics\bit\bitops.rot\rotl.pass.cpp

# libc++ doesn't yet implement P1754R1 or P1964R2, so it expects an old value for `__cpp_lib_concepts`
language.support\support.limits\support.limits.general\concepts.version.pass.cpp

# Bogus test believes that optional<non_constexpr_destructor> cannot be a literal type
utilities\optional\optional.object\optional.object.dtor\dtor.pass.cpp

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,10 @@ STATIC_ASSERT(__cpp_lib_complex_udls == 201309L);
#if _HAS_CXX20 && !defined(__EDG__) // TRANSITION, EDG concepts support
#ifndef __cpp_lib_concepts
#error __cpp_lib_concepts is not defined
#elif __cpp_lib_concepts != 201907L
#error __cpp_lib_concepts is not 201907L
#elif __cpp_lib_concepts != 202002L
#error __cpp_lib_concepts is not 202002L
#else
STATIC_ASSERT(__cpp_lib_concepts == 201907L);
STATIC_ASSERT(__cpp_lib_concepts == 202002L);
#endif
#else
#ifdef __cpp_lib_concepts
Expand Down