Issue 166843
Summary [clangd] Assertion failure in clangd: Assertion `detail::isPresent(Val) && "dyn_cast on a non-existent value"' failed.
Labels clangd
Assignees
Reporter ilovepi
    We're seeing an assertion fire in clangd
```
clangd: llvm/include/llvm/Support/Casting.h:656: decltype(auto) llvm::dyn_cast(From *) [To = clang::UsingShadowDecl, From = const clang::NamedDecl]: Assertion `detail::isPresent(Val) && "dyn_cast on a non-existent value"' failed.
```

I'm working on getting code and logs I can share, since we're seeing this in internal code. This may take me a bit but I wanted to report this as early as possible. The code base triggering this had a pretty massive upgrade from 03b0f55d9c6319a851a60bb084faca0e32a38f2b to 62adc83c918b1b55f70e4ee33c727b040da2a9ed, but I'm still able to trigger the assertions as of this morning.

I'm aware of https://clangd.llvm.org/troubleshooting, so I'll try to get logs, a simplified command, and a credeuced/sanitized source file, but some of these steps can take a bit to complete.


_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to