[clang] [clang] Crash when referencing capture in static lambda (PR #74661)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 7 06:46:06 PST 2023


================
@@ -848,6 +848,10 @@ Miscellaneous Clang Crashes Fixed
   `Issue 41302 <https://github.com/llvm/llvm-project/issues/41302>`_
 - Fixed a crash when ``-ast-dump=json`` was used for code using class
   template deduction guides.
+- Fixed a crash when a lambda marked as `static` referenced a captured variable
----------------
Fznamznon wrote:

```suggestion
- Fixed a crash when a lambda marked as ``static`` referenced a captured variable
```

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


More information about the cfe-commits mailing list