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` |
||
---|---|---|
.. | ||
class_member.cc | ||
class_static_member_decl_only.cc | ||
class_static_member.cc | ||
deduce_auto_type.cc | ||
function_local.cc | ||
function_param_unnamed.cc | ||
function_param.cc | ||
function_shadow_local.cc | ||
function_shadow_param.cc | ||
global_variable_decl_only.cc | ||
global_variable.cc | ||
type_instance_on_using_type.cc |