Clangd segfault on lambda template
Open
clangd
crash
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
```
clangd --version
clangd version 20.1.6
Features: linux
Platform: x86_64-pc-linux-gnu
```
`auto DoType = [&]() {...};`
`DoType.template operator()<[](unsigned char Tile){ return Tile == TILE_SOLID; }, g_Config.m_TcOutlineWidthSolid, g_Config.m_TcOutlineColorSolid>();`
Commenting out the call stops clangd from crashing
https://github.com/sjrc6/TaterClient-ddnet/commit/91e95f3ea08e0556c1803ac5c8aee10da30422f9
[crash.txt](https://github.com/user-attachments/files/22320812/crash.txt)
Contributor guide
Assessment
This issue has not been assessed yet.