diff options
author | Qizhi Hu <836744285@qq.com> | 2024-03-20 08:33:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 08:33:30 +0800 |
commit | f5f3d5d6534f0a38c771119653dac3330c9f207f (patch) | |
tree | 916348e2d2972f5b84994e1bff9d9159a73d4c1c /lldb/source/Commands/CommandObjectBreakpoint.cpp | |
parent | 22ac5f743811ae1e5004fdd43be556ebbd0496d1 (diff) | |
download | llvm-f5f3d5d6534f0a38c771119653dac3330c9f207f.zip llvm-f5f3d5d6534f0a38c771119653dac3330c9f207f.tar.gz llvm-f5f3d5d6534f0a38c771119653dac3330c9f207f.tar.bz2 |
[Clang][Sema] Fix a crash in lambda instantiation (#85565)
Fix https://github.com/llvm/llvm-project/issues/85343
When build lambda expression in lambda instantiation, `ThisType` is
required in `Sema::CheckCXXThisCapture` to build `this` capture. Set
`this` type by import `Sema::CXXThisScopeRAII` and it will be used later
in lambda expression transformation.
Co-authored-by: huqizhi <836744285@qq.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpoint.cpp')
0 files changed, 0 insertions, 0 deletions