mirror of
https://github.com/MaskRay/ccls.git
synced 2025-08-19 05:02:26 +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` |
||
---|---|---|
.. | ||
anonymous_function.cc | ||
function_declaration.cc | ||
function_definition.cc | ||
method_declaration.cc | ||
method_definition.cc | ||
method_inline_declaration.cc | ||
namespace_alias.cc | ||
namespace_reference.cc |