diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2025-07-03 20:59:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-03 20:59:18 +0300 |
commit | 994501abe75c2a2d244785c0d0cf177858ac6eaf (patch) | |
tree | 0c9bc083eb58d0bec9f7ae18070c48c79515f443 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | d66254e7fe21c92e0d39e14fbbb29b1b576e9423 (diff) | |
download | llvm-994501abe75c2a2d244785c0d0cf177858ac6eaf.zip llvm-994501abe75c2a2d244785c0d0cf177858ac6eaf.tar.gz llvm-994501abe75c2a2d244785c0d0cf177858ac6eaf.tar.bz2 |
[Clang] Fix evaluation context of lambdas appearing in discarded statements (#146857)
Fixes 2 bugs reported in #146063
- The body of a lambda appearing in a discarded statement was sometimes
considered discarded itself
- A lambda conversion operator that was not odr-used was sometimes not
defined even if it was needed
Fixes #146063
---------
Co-authored-by: Timm Baeder <tbaeder@redhat.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions