diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-02-12 22:36:06 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 22:36:06 +0400 |
commit | a9845d602288263a5e2c260ac1a9655ae6b7b119 (patch) | |
tree | 27429018ed37e661a99fb3814cb8297080a5b82f /clang/www | |
parent | b04dd5d187306df9cc7e53ec5a84c1324be63eb8 (diff) | |
download | llvm-a9845d602288263a5e2c260ac1a9655ae6b7b119.zip llvm-a9845d602288263a5e2c260ac1a9655ae6b7b119.tar.gz llvm-a9845d602288263a5e2c260ac1a9655ae6b7b119.tar.bz2 |
[clang] Add some CodeGen tests for CWG 1xx issues (#80338)
Covers CWG issues
[124](https://cplusplus.github.io/CWG/issues/124.html)
[185](https://cplusplus.github.io/CWG/issues/185.html),
[193](https://cplusplus.github.io/CWG/issues/193.html),
[199](https://cplusplus.github.io/CWG/issues/199.html).
I also looked at [190](https://cplusplus.github.io/CWG/issues/190.html),
but concluded that we should try to test it via C++20
`std::is_layout_compatible` first.
I tried to group tests under `dr1xx-codegen.cpp`, but found out that
CodeGen can arbitrarily reorder function definitions in LLVM module. In
particular, interleaving between regular function definitions and
destructor definitions present in the source might not be preserved,
which messes up FileCheck directives. `CHECK-DAG` can help with that,
but its interaction with `CHECK-LABEL` (lack of thereof) would require
me to relax tests too much.
Diffstat (limited to 'clang/www')
-rwxr-xr-x | clang/www/cxx_dr_status.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html index 4ce5c43..8f4ae23 100755 --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -782,7 +782,7 @@ <td><a href="https://cplusplus.github.io/CWG/issues/124.html">124</a></td> <td>CD1</td> <td>Lifetime of temporaries in default initialization of class arrays</td> - <td class="unknown" align="center">Duplicate of <a href="#201">201</a></td> + <td class="full" align="center">Clang 2.7</td> </tr> <tr id="125"> <td><a href="https://cplusplus.github.io/CWG/issues/125.html">125</a></td> @@ -1148,7 +1148,7 @@ <td><a href="https://cplusplus.github.io/CWG/issues/185.html">185</a></td> <td>TC1</td> <td>"Named" temporaries and copy elision</td> - <td class="unknown" align="center">Unknown</td> + <td class="full" align="center">Clang 2.7</td> </tr> <tr class="open" id="186"> <td><a href="https://cplusplus.github.io/CWG/issues/186.html">186</a></td> @@ -1196,7 +1196,7 @@ <td><a href="https://cplusplus.github.io/CWG/issues/193.html">193</a></td> <td>TC1</td> <td>Order of destruction of local automatics of destructor</td> - <td class="unknown" align="center">Unknown</td> + <td class="full" align="center">Clang 2.7</td> </tr> <tr id="194"> <td><a href="https://cplusplus.github.io/CWG/issues/194.html">194</a></td> @@ -1232,7 +1232,7 @@ <td><a href="https://cplusplus.github.io/CWG/issues/199.html">199</a></td> <td>CD1</td> <td>Order of destruction of temporaries</td> - <td class="unknown" align="center">Unknown</td> + <td class="full" align="center">Clang 2.8</td> </tr> <tr id="200"> <td><a href="https://cplusplus.github.io/CWG/issues/200.html">200</a></td> |