Something feels wrong with clangd-8

Yllman, Jens jens at yllman.se
Thu Oct 3 10:23:10 BST 2019


Hi,

I use debian unstable. And I do programming and are happy you can have
multiple versions of both gcc and clang on the system at the same time.

But I have not tried to find out why clangd-8 does not seem to find the
c++ include files if you want to use -stdlib=libc++. And when searching
for this one thing I found was this,
https://stackoverflow.com/questions/55289053/clangd-on-linux-cannot-find-default-headers.
And it contains a link to a llvm source file,
https://github.com/llvm-mirror/clang/blob/c1c29fb987dd01ef0624f38996ebfc05d2f8841b/lib/Frontend/InitHeaderSearch.cpp#L470.
I do not know if this is the correct line that is causing this. I tried
to search the patches for debian if you somewhere modify paths to like
/usr/lib/llvm-8 instead. But I did not really find anything. But I think
one solution is to patch that line.

What do you think??

Jens Yllman

PS. I am not maintainer at debian, I have an account. DS.



More information about the Pkg-llvm-team mailing list