mirror of
https://github.com/MaskRay/ccls.git
synced 2025-08-18 20:52:23 +00:00
Build llvm-project ``` ninja -C out/stable clang clangFormat clangIndex clangTooling ``` Then build ccls against the just-built llvm-project. ``` cmake -S. -Bout/debug -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=$HOME/Stable/bin/clang++ -DCMAKE_EXPORT_COMPILE_COMMANDS=On -DCMAKE_PREFIX_PATH="$HOME/llvm/out/stable;$HOME/llvm/out/stable/tools/clang" -DCLANG_EXECUTABLE=$HOME/Stable/bin/clang++ ``` Finally, run `ccls -test-index` |
||
---|---|---|
.. | ||
constructors | ||
declaration_vs_definition | ||
enums | ||
inheritance | ||
lambdas | ||
macros | ||
multi_file | ||
namespaces | ||
objective-c | ||
operators | ||
outline | ||
preprocessor | ||
templates | ||
types | ||
unions | ||
usage | ||
vars | ||
_empty_test.cc | ||
class_forward_declaration.cc | ||
foobar.cc | ||
function_declaration_definition.cc | ||
function_declaration.cc | ||
function_definition.cc | ||
method_declaration.cc | ||
method_definition.cc | ||
method_inline_declaration.cc |