[clangd-dev] omp.h not found by clangd

Daan De Meyer via clangd-dev clangd-dev at lists.llvm.org
Thu Dec 6 06:54:19 PST 2018


Installing the openmp package on Arch Linux made clangd find the omp.h
header (/usr/include/omp.h). Is it possible to make clangd find gcc's omp.h
as well (located at /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/include/omp.h on
my system)?

Regards,

Daan

On Thu, 6 Dec 2018 at 15:32, Daan De Meyer <daan.j.demeyer at gmail.com> wrote:

> Hi,
>
> clangd doesn't seem to find omp.h which results in lots of diagnostics
> errors. I tried adding "include/omp.h", <omp.h> to the
> CanonicalIncludes.cpp file but that didn't seem to make a difference. Can
> someone give me some pointers on how to make clangd recognize omp.h?
>
> Regards,
>
> Daan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/clangd-dev/attachments/20181206/b85fa3ba/attachment.html>


More information about the clangd-dev mailing list