FireBurn added a comment. This breaks compilation for me on Gentoo's clang-9999.ebuild
The following patch fixes things for me commit a4c071b16bbbc84bbb960000d90b51bed8a12127 (HEAD -> master) Author: Mike Lothian <m...@fireburn.co.uk> Date: Tue Feb 6 09:55:41 2018 +0000 [clangd] Fix include to use Clang's config.h This fixes: [clangd] Use pthread instead of thread_local to support more runtimes. diff --git a/clangd/Context.cpp b/clangd/Context.cpp index 23006778..aed832f4 100644 --- a/clangd/Context.cpp +++ b/clangd/Context.cpp @@ -8,7 +8,7 @@ //===---------------------------------------------------------------------===// #include "Context.h" -#include "llvm/Config/config.h" +#include "clang/Config/config.h" #include <cassert> // The thread-local Context is scoped in a function to avoid init-order issues. Repository: rL LLVM https://reviews.llvm.org/D42742 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits