forked from OSchip/llvm-project
Mark the major papers for C++20 consistent comparisons as "done", and
start publishing the corresponding feature-test macro.
This commit is contained in:
parent
4a4e90a823
commit
bc633a42dd
|
@ -546,6 +546,7 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts,
|
|||
Builder.defineMacro("__cpp_conditional_explicit", "201806L");
|
||||
Builder.defineMacro("__cpp_constexpr_dynamic_alloc", "201907L");
|
||||
Builder.defineMacro("__cpp_constinit", "201907L");
|
||||
Builder.defineMacro("__cpp_impl_three_way_comparison", "201907L");
|
||||
}
|
||||
if (LangOpts.Char8)
|
||||
Builder.defineMacro("__cpp_char8_t", "201811L");
|
||||
|
|
|
@ -46,6 +46,10 @@
|
|||
#error "wrong value for __cpp_impl_destroying_delete"
|
||||
#endif
|
||||
|
||||
#if check(impl_three_way_comparison, 0, 0, 0, 0, 201907)
|
||||
#error "wrong value for __cpp_impl_three_way_comparison"
|
||||
#endif
|
||||
|
||||
// --- C++17 features ---
|
||||
|
||||
#if check(hex_float, 0, 0, 0, 201603, 201603)
|
||||
|
|
|
@ -926,11 +926,10 @@ as the draft C++2a standard evolves.
|
|||
<tr>
|
||||
<td rowspan="8">Consistent comparison (<tt>operator<=></tt>)</td>
|
||||
<td><a href="https://wg21.link/p0515r3">P0515R3</a></td>
|
||||
<td class="partial" align="center">Partial</td>
|
||||
<td rowspan="2" class="svn" align="center">SVN</td>
|
||||
</tr>
|
||||
<tr> <!-- from Jacksonville -->
|
||||
<td><a href="https://wg21.link/p0905r1">P0905R1</a></td>
|
||||
<td class="svn" align="center">SVN</td>
|
||||
</tr>
|
||||
<tr> <!-- from Rapperswil -->
|
||||
<td><a href="https://wg21.link/p1120r0">P1120R0</a></td>
|
||||
|
|
Loading…
Reference in New Issue