[clang] [Clang][Sema] Fix a crash in lambda instantiation (PR #85565)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 18 04:38:14 PDT 2024


================
@@ -394,6 +394,7 @@ Bug Fixes to C++ Support
   expression references to an entity declared outside of the lambda. (#GH64808)
 - Clang's __builtin_bit_cast will now produce a constant value for records with empty bases. See:
   (#GH82383)
+- Fix a crash in lambda instantiation that missing set ``ThisType`` when checking capture. Fixes (#GH85343).
----------------
Sirraide wrote:

```suggestion
- Fix a crash when instantiating a lambda that captures ``this`` outside of its context. Fixes (#GH85343).
```

https://github.com/llvm/llvm-project/pull/85565


More information about the cfe-commits mailing list