diff options
author | cor3ntin <corentinjabot@gmail.com> | 2023-10-05 10:17:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 10:17:50 +0200 |
commit | 49666ec0386174b9fcf637560951b8ee29ca82c7 (patch) | |
tree | 081b22740785ca362fc942d84ac47a8993f509a5 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | b74cfc139a1bce527a02ed9a32da5b0cb9c955bf (diff) | |
download | llvm-49666ec0386174b9fcf637560951b8ee29ca82c7.zip llvm-49666ec0386174b9fcf637560951b8ee29ca82c7.tar.gz llvm-49666ec0386174b9fcf637560951b8ee29ca82c7.tar.bz2 |
[Clang] Fix constant evaluating a captured variable in a lambda (#68090)
with an explicit parameter.
We tried to read a pointer to a non-existent `This` APValue when
constant-evaluating an explicit object lambda call operator (the `this`
pointer is never set in explicit object member functions)
Fixes #68070
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions