Skip to content

Incorrect syntax highlighting for C++ lambda expressions with clangd 19.1.2 on Windows 11 #152934

@qiuliw

Description

@qiuliw

Environment

  • OS: Windows 11 (build 22631)
  • Editor: VS Code 1.103.0
  • Extension: vscode-clangd v0.2.0
  • clangd version: 19.1.2 (pre-built binary from GitHub releases)
  • compile_commands.json generated by CMake 3.30 using Ninja & MSVC 19.40

not have lambda

Image

""have lambda""

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangdinvalidResolved as invalid, i.e. not a buglambdaC++11 lambda expressions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions