aboutsummaryrefslogtreecommitdiff
path: root/clang/www
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2022-03-12 20:49:01 +0100
committerCorentin Jabot <corentinjabot@gmail.com>2022-03-25 19:16:45 +0100
commit3784e8ccfbdaaab31f9e9c221daa59a218279999 (patch)
tree24b275ff22b4a605d4ca90564228a76cfe50c793 /clang/www
parent171cdba8674f05bc9b97b6d194911292d4a73731 (diff)
downloadllvm-3784e8ccfbdaaab31f9e9c221daa59a218279999.zip
llvm-3784e8ccfbdaaab31f9e9c221daa59a218279999.tar.gz
llvm-3784e8ccfbdaaab31f9e9c221daa59a218279999.tar.bz2
[Clang] Fix Unevaluated Lambdas
Unlike other types, when lambdas are instanciated, they are recreated from scratch. When an unevaluated lambdas appear in the type of a function, parameter it is instanciated in the wrong declaration context, as parameters are transformed before the function. To support lambda in function parameters, we try to compute whether they are dependant without looking at the declaration context. This is a short term stopgap solution to avoid clang iceing. A better fix might be to inject some kind of transparent declaration with correctly computed dependency for function parameters, variable templates, etc. Fixes https://github.com/llvm/llvm-project/issues/50376 Fixes https://github.com/llvm/llvm-project/issues/51414 Fixes https://github.com/llvm/llvm-project/issues/51416 Fixes https://github.com/llvm/llvm-project/issues/51641 Fixes https://github.com/llvm/llvm-project/issues/54296 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D121532
Diffstat (limited to 'clang/www')
-rwxr-xr-xclang/www/cxx_status.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/www/cxx_status.html b/clang/www/cxx_status.html
index 79da75d..bd863d0 100755
--- a/clang/www/cxx_status.html
+++ b/clang/www/cxx_status.html
@@ -1024,7 +1024,11 @@ code. This issue is expected to be rectified soon.
<tr>
<td>Lambdas in unevaluated contexts</td>
<td><a href="https://wg21.link/p0315r4">P0315R4</a></td>
- <td class="partial" align="center">Partial</td>
+ <td class="partial" align="center">
+ <details><summary>Partial</summary>
+ temp.deduct/9 is not implemented yet.
+ </details>
+ </td>
</tr>
<!-- Jacksonville papers -->
<tr>