llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.05k stars 11.58k forks source link

[clangd] crash when using #embed #107869

Open StreetwareGames opened 1 week ago

StreetwareGames commented 1 week ago
static constexpr unsigned char data[] = {
#embed "data"
};

I use sublime text with the LSP plugin and clangd. hovering my mouse over data causes it to crash

pinskia commented 1 week ago

Dup of https://github.com/llvm/llvm-project/issues/107724 ? At least related to.

llvmbot commented 1 week ago

@llvm/issue-subscribers-clangd

Author: Streetware (StreetwareGames)

```c static constexpr unsigned char data[] = { #embed "data" }; ``` I use sublime text with the LSP plugin and clangd. hovering my mouse over `data` causes it to crash