You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Fangrui Song 2682964039 Rename message files (e.g. ccls_call_hierarchy.cc -> ccls_callHierarchy.cc) 6 years ago
ci Use clang_File_tryGetRealPathName 5 years ago
clang_archive_hashes clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz.SHA256 -> 16.04 5 years ago
cmake Infer system include paths from CompilerInvocation 5 years ago
index_tests Fix .. in compdb path; better type alias 5 years ago
src Rename message files (e.g. ccls_call_hierarchy.cc -> ccls_callHierarchy.cc) 5 years ago
third_party Replace loguru with a custom logger 5 years ago
.clang-format Add project .clang-format 7 years ago
.gitignore . 5 years ago
.gitmodules Replace loguru with a custom logger 5 years ago
CMakeLists.txt Rename message files (e.g. ccls_call_hierarchy.cc -> ccls_callHierarchy.cc) 5 years ago
README.md textDocument/references: include base references by default 5 years ago

README.md

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.

The comparison with cquery as noted on 2018-05-17:

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

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

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