This revision was automatically updated to reflect the committed changes.
Closed by commit rG86946ebb796c: [clang] Add test for CWG1822 (authored by
Endill).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147836/new/
https://reviews.llvm.org/D147836
Files:
clang/test/CXX/drs/dr18xx.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
@@ -10739,7 +10739,7 @@
<td><a href="https://wg21.link/cwg1822">1822</a></td>
<td>CD6</td>
<td>Lookup of parameter names in <I>lambda-expression</I>s</td>
- <td class="none" align="center">Unknown</td>
+ <td class="full" align="center">Yes</td>
</tr>
<tr id="1823">
<td><a href="https://wg21.link/cwg1823">1823</a></td>
Index: clang/test/CXX/drs/dr18xx.cpp
===================================================================
--- clang/test/CXX/drs/dr18xx.cpp
+++ clang/test/CXX/drs/dr18xx.cpp
@@ -50,6 +50,15 @@
#endif
}
+namespace dr1822 { // dr1822: yes
+#if __cplusplus >= 201103L
+ int a;
+ auto x = [] (int a) {
+#pragma clang __debug dump a // CHECK: ParmVarDecl
+ };
+#endif
+}
+
namespace dr1872 { // dr1872: 9
#if __cplusplus >= 201103L
template<typename T> struct A : T {
Index: clang/www/cxx_dr_status.html
===================================================================
--- clang/www/cxx_dr_status.html
+++ clang/www/cxx_dr_status.html
@@ -10739,7 +10739,7 @@
<td><a href="https://wg21.link/cwg1822">1822</a></td>
<td>CD6</td>
<td>Lookup of parameter names in <I>lambda-expression</I>s</td>
- <td class="none" align="center">Unknown</td>
+ <td class="full" align="center">Yes</td>
</tr>
<tr id="1823">
<td><a href="https://wg21.link/cwg1823">1823</a></td>
Index: clang/test/CXX/drs/dr18xx.cpp
===================================================================
--- clang/test/CXX/drs/dr18xx.cpp
+++ clang/test/CXX/drs/dr18xx.cpp
@@ -50,6 +50,15 @@
#endif
}
+namespace dr1822 { // dr1822: yes
+#if __cplusplus >= 201103L
+ int a;
+ auto x = [] (int a) {
+#pragma clang __debug dump a // CHECK: ParmVarDecl
+ };
+#endif
+}
+
namespace dr1872 { // dr1872: 9
#if __cplusplus >= 201103L
template<typename T> struct A : T {
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits