https://bugs.llvm.org/show_bug.cgi?id=43902

            Bug ID: 43902
           Summary: clangd with compilation database and -stdlib=libc++
           Product: clang-tools-extra
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: clangd
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 22768
  --> https://bugs.llvm.org/attachment.cgi?id=22768&action=edit
Output from both NeoVim and clangd when it fails

When using clangd together with a compilation database which contains the
compiler flag -stdlib=libc++ clangd fails to find system headers.

I have created a git repo containing a reduced repro with logs that can be 
 found here: https://github.com/fredrikslattman/clangd-libcpp.

Development Environment:
  Ubuntu 18.0.4 LTS
  LLVM/Clang-9 installed through apt-get
  CMake 3.15
  NeoVim 0.3.8 (with autozimu/LanguageClient 0.1.153)

clangd is being invoked with the --compile-commands-dir= which picks up the
correct compilation database.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to