[clang] [clang] Fix discarded non-ODR-uses in lambdas (PR #215603)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 9 20:08:27 PDT 2026
zwuis wrote:
> This touches https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0588r1.html - Which we never implemented, because few of us understand where the simplification was.
>
> I'm hoping @zygoloid can review this PR and/or tell us what he things the correct direction to implement P0588 should be.
I don't think so. I think this is exactly [CWG712](https://wg21.link/cwg712), which becomes too complex when lambda captures (before P0588R1) come into play.
https://github.com/llvm/llvm-project/pull/215603
More information about the cfe-commits
mailing list