[PATCH] D122620: [clang][DR] Test and mark DR1479 as complete
Markus Böck via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 29 00:28:53 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG984554f846c4: [clang][DR] Test and mark DR1479 as complete (authored by zero9178).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122620/new/
https://reviews.llvm.org/D122620
Files:
clang/test/CXX/drs/dr14xx.cpp
clang/www/cxx_dr_status.html
Index: clang/www/cxx_dr_status.html
===================================================================
--- clang/www/cxx_dr_status.html
+++ clang/www/cxx_dr_status.html
@@ -8688,7 +8688,7 @@
<td><a href="https://wg21.link/cwg1479">1479</a></td>
<td>CD3</td>
<td>Literal operators and default arguments</td>
- <td class="none" align="center">Unknown</td>
+ <td class="full" align="center">Yes</td>
</tr>
<tr id="1480">
<td><a href="https://wg21.link/cwg1480">1480</a></td>
Index: clang/test/CXX/drs/dr14xx.cpp
===================================================================
--- clang/test/CXX/drs/dr14xx.cpp
+++ clang/test/CXX/drs/dr14xx.cpp
@@ -463,6 +463,10 @@
#endif
} // dr1467
+namespace dr1479 { // dr1479: yes
+ int operator"" _a(const char*, std::size_t = 0); // expected-error {{literal operator cannot have a default argument}}
+}
+
namespace dr1490 { // dr1490: 3.7 c++11
// List-initialization from a string literal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122620.418806.patch
Type: text/x-patch
Size: 976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220329/01e9fce3/attachment.bin>
More information about the cfe-commits
mailing list