Commit Graph

22 Commits

Author SHA1 Message Date
Fangrui Song
c437b16ef7 Support textDocument/{formatting,onTypeFormatting,rangeFormatting} 2019-10-24 18:37:35 -07:00
Riatre Foo
87f36a4a96 Fix compile on Windows + MSYS2-MinGW64 (#46)
1. libClangDriver.a shipped by MSYS2 needs -lversion which is not
   included in CMAKE_CXX_STANDARD_LIBRARIES by default.
2. Use string literal for DEFAULT_RESOURCE_DIRECTORY to support
   backslashes in path.
2019-10-24 01:01:21 -07:00
Fangrui Song
af881dff18 cmake: for -DSYSTEM_CLANG=off, 6.0.0 -> 6.0.1 2019-10-24 01:01:21 -07:00
Fangrui Song
134a09a255 Remove libclang 2019-10-24 01:01:20 -07:00
Fangrui Song
aa9cdad54f Use clangTooling 2019-10-24 01:01:20 -07:00
Fangrui Song
103aa711d3 First draft: replace libclang indexer with clangIndex 2019-10-24 00:53:16 -07:00
Fangrui Song
bc6a48c405 clang+llvm libs 2019-10-24 00:18:13 -07:00
Fangrui Song
732e002b13 Infer system include paths from CompilerInvocation 2019-10-24 00:17:28 -07:00
Fangrui Song
806a05b234 Add Config->largeFileSize; pure virtual or defaulted methods are definitions; fix $ccls/callHierarchy 2019-10-24 00:17:28 -07:00
Fangrui Song
c279090ac5 cmake: link against zlib; use StringMap 2019-10-23 21:56:51 -07:00
Fangrui Song
f9e1e8cbdc Congratulations to Tea Deliverers 2019-10-23 21:56:51 -07:00
Fangrui Song
36729818c3 experimental/filesystem -> LLVM/Support/FileSystem.h; sparsepp -> DenseMap 2019-10-23 21:56:51 -07:00
Fangrui Song
4207c3ece1 clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz.SHA256 -> 16.04 2019-10-23 21:56:51 -07:00
Fangrui Song
c269876593 Use clang+llvm C++ in cmake; parse args with clang driver 2019-10-23 21:56:51 -07:00
Fangrui Song
b51347960c Import cmake improvement by Daan De Meyer 2019-10-23 21:56:50 -07:00
Chao Shen
53138afabd Extract LLVM to specific directory. 2019-10-23 21:56:50 -07:00
Daan De Meyer
7a6ceae500 Switch to -print-resource-dir (drop support for system clang 4.0) 2019-10-23 21:56:50 -07:00
DaanDeMeyer
b110f0f96c Change default cmake build type to Release 2019-10-23 21:56:50 -07:00
Daan De Meyer
25094bc70d Add SHA256 hashes of LLVM downloads and check them when downloading LLVM 2019-10-23 21:56:50 -07:00
DaanDeMeyer
282ef8ce74 [CMake] Remove byte hacks + add correct url's for different clang versions + abort for unsupported combinations (#532) 2019-10-23 21:56:50 -07:00
Fangrui Song
d7e0722ca6 Use clang+llvm-6.0.0-amd64-unknown-freebsd-10.tar.xz
before 6.0.0 it was named freebsd10
2019-10-23 21:56:50 -07:00
DaanDeMeyer
ad3f990267 Add CMake as alternative build system (#526) 2019-10-23 21:56:50 -07:00