C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Go to file
Riatre Foo 344ade0420 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.
2018-08-08 00:25:46 -07:00
ci Use clang_File_tryGetRealPathName 2018-04-07 16:46:22 -07:00
clang_archive_hashes cmake: for -DSYSTEM_CLANG=off, 6.0.0 -> 6.0.1 2018-07-29 18:02:37 -07:00
cmake Fix compile on Windows + MSYS2-MinGW64 (#46) 2018-08-08 00:25:46 -07:00
index_tests Validate RecordDecl 2018-08-08 00:25:43 -07:00
src Add flat to $ccls/inheritanceHierarchy 2018-08-08 00:25:46 -07:00
third_party rapidjson url (#43) 2018-08-03 09:37:31 -07:00
.clang-format First draft: replace libclang indexer with clangIndex 2018-07-07 15:43:05 -07:00
.gitignore . 2018-03-31 00:53:39 -07:00
.gitmodules rapidjson url (#43) 2018-08-03 09:37:31 -07:00
CMakeLists.txt Fix compile on Windows + MSYS2-MinGW64 (#46) 2018-08-08 00:25:46 -07:00
README.md links 2018-07-18 22:13:50 -07:00

ccls

Telegram Gitter

ccls, which originates from cquery, is 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.

The comparison with cquery as noted on 2018-07-15:

cquery ccls
third_party more fewer
C++ C++14 C++17
clang API libclang (C) clang/llvm C++
Filesystem AbsolutePath + custom routines llvm/Support
index libclang clangIndex, some enhancement
pipeline index merge+id remapping simpler and more robust

cquery has system include path detection (through running the compiler driver) while ccls uses clangDriver.

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