Missing signatures CLANGD (msvc)

3 weeks ago 16
ARTICLE AD BOX
clangd version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98) Features: windows Platform: x86_64-pc-windows-msvc

^^^ VERSION INFO ^^^

When triggering signature help for std::ranges::reverse, only the iterator-based overload is returned; the ranges-based version is missing. This behavior persists across other range adaptors and algorithms, such as std::ranges::transform and std::ranges::copy.

Interestingly, clangd does not flag any syntax errors when a range is passed, which suggests the overloads are being resolved correctly during compilation but are simply missing from the LSP's signature help. Has anyone encountered this or found a workaround?

vvv CLANGD REQUEST LOG vvv (signature help for std::ranges::reverse)

I[18:36:46.124] --> reply:textDocument/signatureHelp(1044) 46 ms V[18:36:46.124] >>> { "id": 1044, "jsonrpc": "2.0", "result": { "activeParameter": 0, "activeSignature": 0, "signatures": [ { "label": "operator()(It First, Se Last) -> It", "parameters": [ { "label": [ 11, 19 ] }, { "label": [ 21, 28 ] } ] } ] } }

enter image description here

Read Entire Article