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
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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits