Nathan Ridge
Nathan Ridge
Update: I was able to install CUDA by manually downloading some of the dependent packages from the Debian 11 package repositories. I now have a `cuda.h` at `/usr/include/linux/cuda.h`. However, I...
I was able to reproduce this using the minimal `delete.cu` example in https://github.com/clangd/clangd/issues/1815#issuecomment-1818766243. The crash is preceded by this assertion failure: > clang/lib/Sema/SemaExprCXX.cpp:3225: clang::FunctionDecl *clang::Sema::FindUsualDeallocationFunction(clang::SourceLocation, bool, bool, clang::DeclarationName): Assertion `Result.FD...
> I was able to reproduce this using the minimal `delete.cu` example in [#1815 (comment)](https://github.com/clangd/clangd/issues/1815#issuecomment-1818766243). This example wasn't really minimal, because when compiling a `.cu` file, clang implicitly includes a...
No, unfortunately I haven't had time to look at this further, and I'm not sure when I will. Hopefully the reduced code example in my last comment is helpful for...
My understanding is that the threat model that `--query-driver` is intended to protect against is a malicious project triggering execution of an executable in the project itself just by opening...
It looks like clangd is not able to find the standard library headers of your compiler. What compiler are you using to build you code? Where is the compiler executable...
If you're able to configure YouCompleteMe to pass `--log=verbose` as a command-line argument to clangd, then sharing the `clangd_stderr` log taken with that flag might shed more light on the...
Can you share the output of `/usr/bin/g++ -v -x c++ -E /dev/null` please?
Btw. https://github.com/clangd/vscode-clangd/issues/417 is similar, I think something related to the location of the standard library include paths changed in Ubuntu 22.04.
> > Can you share the output of `/usr/bin/g++ -v -x c++ -E /dev/null` please? > > Here it is. Thanks. The listed include paths seem pretty standard, it's strange...