C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Go to file
Gong Qijian b6a2498bfe cmake: add clangBasic
Fix build issue on Darwin:

```
Undefined symbols for architecture x86_64:
  "clang::ObjCRuntime::tryParse(llvm::StringRef)", referenced from:
      clang::driver::tools::Clang::AddObjCRuntimeArgs(llvm::opt::ArgList const&, llvm::SmallVector<char const*, 16u>&, clang::driver::tools::Clang::RewriteKind) const in libclangDriver.a(Clang.cpp.o)
  "clang::VersionTuple::tryParse(llvm::StringRef)", referenced from:
      clang::driver::ToolChain::computeMSVCVersion(clang::driver::Driver const*, llvm::opt::ArgList const&) const in libclangDriver.a(ToolChain.cpp.o)
  "clang::DiagnosticIDs::getDiagnosticFlags()", referenced from:
      clang::driver::Driver::handleAutocompletions(llvm::StringRef) const in libclangDriver.a(Driver.cpp.o)
  "clang::DiagnosticIDs::getCategoryNameFromID(unsigned int)", referenced from:
      clang::driver::Driver::HandleImmediateArgs(clang::driver::Compilation const&) in libclangDriver.a(Driver.cpp.o)
  "clang::DiagnosticIDs::getNumberOfCategories()", referenced from:
      clang::driver::Driver::HandleImmediateArgs(clang::driver::Compilation const&) in libclangDriver.a(Driver.cpp.o)
  ...

  "_compress2", referenced from:
      llvm::zlib::compress(llvm::StringRef, llvm::SmallVectorImpl<char>&, llvm::zlib::CompressionLevel) in libLLVMSupport.a(Compression.cpp.o)
  "_compressBound", referenced from:
      llvm::zlib::compress(llvm::StringRef, llvm::SmallVectorImpl<char>&, llvm::zlib::CompressionLevel) in libLLVMSupport.a(Compression.cpp.o)
  "_crc32", referenced from:
      llvm::zlib::crc32(llvm::StringRef) in libLLVMSupport.a(Compression.cpp.o)
  "_uncompress", referenced from:
      llvm::zlib::uncompress(llvm::StringRef, char*, unsigned long&) in libLLVMSupport.a(Compression.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
```
2018-05-14 02:34:58 +08:00
ci Use clang_File_tryGetRealPathName 2018-04-07 16:46:22 -07:00
clang_archive_hashes Add SHA256 hashes of LLVM downloads and check them when downloading LLVM 2018-03-18 16:32:23 -07:00
cmake cmake: add clangBasic 2018-05-14 02:34:58 +08:00
index_tests Use usr as primary key and remove id; simplify import pipeline 2018-05-01 22:45:01 -07:00
src Use clang+llvm C++ in cmake; parse args with clang driver 2018-05-13 01:13:14 -07:00
third_party Update loguru 2018-04-16 00:14:54 -07:00
.clang-format Add project .clang-format 2017-11-19 12:15:14 -05:00
.gitignore . 2018-03-31 00:53:39 -07:00
.gitmodules MessagePack -> custom binary format 2018-04-15 00:40:19 -07:00
CMakeLists.txt Use clang+llvm C++ in cmake; parse args with clang driver 2018-05-13 01:13:14 -07:00
README.md README 2018-05-05 15:25:43 -07:00

ccls

ccls is a fork of cquery (originally written by Jacob Dufault), a C/C++/Objective-C language server.

It makes use of C++17 features, has less third-party dependencies and slimmed-down code base. Cross reference features are strenghened, (see [wiki/FAQ]). It currently uses libclang to index C++ code but will switch to Clang C++ API. Refactoring and formatting are non-goals as they can be provided by clang-format, clang-include-fixer and other Clang based tools.

>>> Getting started (CLICK HERE) <<<