aboutsummaryrefslogtreecommitdiff
path: root/clang/www
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-11-14 21:04:34 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-11-14 21:04:34 +0000
commit28ddb91decff9bb9e28cf12e04b2b6bf78cadc3b (patch)
treedc6b7c03a84fdb98588da7619835b9fe9c7ae4b1 /clang/www
parentf61a563a19a3f4c999011c8c6287717532dcdfd9 (diff)
[c++20] Implement P0482R6: enable -fchar8_t by default in C++20 mode.
This unfortunately results in a substantial breaking change when switching to C++20, but it's not yet clear what / how much we should do about that. We may want to add a compatibility conversion from u8 string literals to const char*, similar to how C++98 provided a compatibility conversion from string literals to non-const char*, but that's not handled by this patch. The feature can be disabled in C++20 mode with -fno-char8_t. llvm-svn: 346892
Diffstat (limited to 'clang/www')
-rwxr-xr-xclang/www/cxx_status.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html
index ee0c6e8542be..c0c152098ee7 100755
--- a/clang/www/cxx_status.html
+++ b/clang/www/cxx_status.html
@@ -996,7 +996,7 @@ as the draft C++2a standard evolves.
<tr>
<td><tt>char8_t</tt></td>
<td><a href="http://wg21.link/p0482r6">P0482R6</a></td>
- <td class="none" align="center">No</td>
+ <td class="full" align="center">Clang 7 <a href="#p0482">(11)</a></td>
</tr>
<tr>
<td>Immediate functions (<tt>consteval</tt>)</td>
@@ -1014,6 +1014,12 @@ as the draft C++2a standard evolves.
<td class="svn" align="center">SVN</td>
</tr>
</table>
+
+<p>
+<span id="p0482">(11): Prior to Clang 8, this feature is not enabled by
+<tt>-std=c++2a</tt>, but can be enabled with <tt>-fchar8_t</tt>.
+</span>
+</p>
</details>
<h2 id="dr">Defect reports</h2>